… | |
… | |
247 | #endif |
247 | #endif |
248 | |
248 | |
249 | bool operator == (const rxvt_color &b) const { return Pixel (*this) == Pixel (b); } |
249 | bool operator == (const rxvt_color &b) const { return Pixel (*this) == Pixel (b); } |
250 | bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } |
250 | bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } |
251 | |
251 | |
|
|
252 | bool alloc (rxvt_screen *screen, rxvt_rgba rgba); |
|
|
253 | void free (rxvt_screen *screen); |
|
|
254 | |
252 | void get (rxvt_screen *screen, rxvt_rgba &rgba); |
255 | void get (rxvt_screen *screen, rxvt_rgba &rgba); |
253 | |
256 | |
254 | bool alloc (rxvt_screen *screen, rxvt_rgba rgba); |
|
|
255 | |
|
|
256 | bool set (rxvt_screen *screen, const char *name); |
257 | bool set (rxvt_screen *screen, const char *name); |
257 | bool set (rxvt_screen *screen, rxvt_rgba rgba); |
258 | bool set (rxvt_screen *screen, rxvt_rgba rgba); |
258 | |
259 | |
259 | rxvt_color fade (rxvt_screen *screen, int percent); // fades to black |
260 | rxvt_color fade (rxvt_screen *screen, int percent); // fades to black |
260 | rxvt_color fade (rxvt_screen *screen, int percent, rxvt_color &fadeto); |
261 | rxvt_color fade (rxvt_screen *screen, int percent, rxvt_color &fadeto); |
261 | |
|
|
262 | void free (rxvt_screen *screen); |
|
|
263 | }; |
262 | }; |
264 | |
263 | |
265 | #endif |
264 | #endif |
266 | |
265 | |