… | |
… | |
62 | XA_SCREEN_RESOURCES, |
62 | XA_SCREEN_RESOURCES, |
63 | XA_XDCCC_LINEAR_RGB_CORRECTION, |
63 | XA_XDCCC_LINEAR_RGB_CORRECTION, |
64 | XA_XDCCC_LINEAR_RGB_MATRICES, |
64 | XA_XDCCC_LINEAR_RGB_MATRICES, |
65 | XA_WM_COLORMAP_WINDOWS, |
65 | XA_WM_COLORMAP_WINDOWS, |
66 | XA_WM_STATE, |
66 | XA_WM_STATE, |
|
|
67 | XA_cursor, |
|
|
68 | # if USE_XIM |
|
|
69 | // various selection targets used by XIM |
|
|
70 | XA_TRANSPORT, |
|
|
71 | XA_LOCALES, |
|
|
72 | XA__XIM_PROTOCOL, |
|
|
73 | XA__XIM_XCONNECT, |
|
|
74 | XA__XIM_MOREDATA, |
|
|
75 | # endif |
67 | #endif |
76 | #endif |
68 | NUM_XA |
77 | NUM_XA |
69 | }; |
78 | }; |
70 | |
79 | |
71 | struct rxvt_term; |
80 | struct rxvt_term; |
… | |
… | |
240 | 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); } |
241 | 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); } |
242 | |
251 | |
243 | void get (rxvt_screen *screen, rxvt_rgba &rgba); |
252 | void get (rxvt_screen *screen, rxvt_rgba &rgba); |
244 | |
253 | |
|
|
254 | bool alloc (rxvt_screen *screen, rxvt_rgba rgba); |
|
|
255 | |
245 | bool set (rxvt_screen *screen, const char *name); |
256 | bool set (rxvt_screen *screen, const char *name); |
246 | bool set (rxvt_screen *screen, rxvt_rgba rgba); |
257 | bool set (rxvt_screen *screen, rxvt_rgba rgba); |
247 | |
258 | |
248 | rxvt_color fade (rxvt_screen *screen, int percent); // fades to black |
259 | rxvt_color fade (rxvt_screen *screen, int percent); // fades to black |
249 | rxvt_color fade (rxvt_screen *screen, int percent, rxvt_color &fadeto); |
260 | rxvt_color fade (rxvt_screen *screen, int percent, rxvt_color &fadeto); |