… | |
… | |
354 | } |
354 | } |
355 | |
355 | |
356 | bool alloc (rxvt_screen *screen, const rgba &color); |
356 | bool alloc (rxvt_screen *screen, const rgba &color); |
357 | void free (rxvt_screen *screen); |
357 | void free (rxvt_screen *screen); |
358 | |
358 | |
|
|
359 | operator rgba () const |
|
|
360 | { |
|
|
361 | rgba c; |
|
|
362 | get (c); |
|
|
363 | return c; |
|
|
364 | } |
359 | void get (rgba &color) const; |
365 | void get (rgba &color) const; |
360 | void get (XColor &color) const; |
366 | void get (XColor &color) const; |
361 | |
367 | |
362 | bool set (rxvt_screen *screen, const char *name); |
368 | bool set (rxvt_screen *screen, const char *name); |
363 | bool set (rxvt_screen *screen, const rgba &color); |
369 | bool set (rxvt_screen *screen, const rgba &color); |