… | |
… | |
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, const rgba &color); |
252 | bool alloc (rxvt_screen *screen, const rgba &color); |
253 | void free (rxvt_screen *screen); |
253 | void free (rxvt_screen *screen); |
254 | |
254 | |
255 | void get (rxvt_screen *screen, rgba &color); |
255 | void get (rgba &color); |
256 | |
256 | |
257 | bool set (rxvt_screen *screen, const char *name); |
257 | bool set (rxvt_screen *screen, const char *name); |
258 | bool set (rxvt_screen *screen, const rgba &color); |
258 | bool set (rxvt_screen *screen, const rgba &color); |
259 | |
259 | |
260 | void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); |
260 | void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); |