BlinkenArea - GitList
Repositories
Blog
Wiki
BlinkenLib
Code
Commits
Branches
Tags
Search
Tree:
f46f6ac
Branches
Tags
master
v0.1
v0.2
v0.3
v0.3.1
v0.4
v0.4.1
v0.5
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.10
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.8.0
v0.8.1
BlinkenLib
BlinkenColorizer.h
BlinkenLib v.0.5.3 (2007-12-28)
Christian Heimke
commited
f46f6ac
at 2011-07-15 09:05:20
BlinkenColorizer.h
Blame
History
Raw
/* BlinkenLib * version 0.5.3 date 2007-12-28 * Copyright 2004-2007 Stefan Schuermans <stefan@schuermans.info> * Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html * a blinkenarea.org project */ #ifndef INC_BlinkenColorizer #define INC_BlinkenColorizer // convert string to colorizing mode // returns colorizing mode (>= 0) or -1 on error int BlinkenColorizerStr2Mode( const char * str ); // convert colorizing mode to string const char * BlinkenColorizerMode2Str( int mode ); // get color for colorizing unsigned char BlinkenColorizerGetColor( int channels, int mode, int step, int y, int x, int c ); #endif //#ifndef INC_BlinkenColorizer