Changeset 1269 for libcaca/trunk/cxx/cucul++.cpp
- Timestamp:
- Oct 31, 2006, 3:04:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cxx/cucul++.cpp
r1156 r1269 88 88 } 89 89 90 void Cucul::setColor(unsigned int f, unsigned int b) 91 { 92 cucul_set_color(cv, f, b); 93 } 94 95 int Cucul::setTruecolor(unsigned int f, unsigned int b) 96 { 97 return cucul_set_truecolor(cv, f, b); 98 } 99 100 char const * Cucul::getColorName(unsigned int color) 101 { 102 return cucul_get_color_name(color); 90 int Cucul::setColorANSI(unsigned char f, unsigned char b) 91 { 92 return cucul_set_color_ansi(cv, f, b); 93 } 94 95 int Cucul::setColorARGB(unsigned int f, unsigned int b) 96 { 97 return cucul_set_color_argb(cv, f, b); 103 98 } 104 99 … … 236 231 } 237 232 238 unsigned long int Cucul::getColor(int x, int y) 239 { 240 return cucul_get_color(cv, x, y); 233 int Cucul::setAttr(unsigned long int attr) 234 { 235 return cucul_set_attr(cv, attr); 236 } 237 238 unsigned long int Cucul::getAttr(int x, int y) 239 { 240 return cucul_get_attr(cv, x, y); 241 241 } 242 242
Note: See TracChangeset
for help on using the changeset viewer.