… | |
… | |
28 | XA_VT_SELECTION, |
28 | XA_VT_SELECTION, |
29 | XA_INCR, |
29 | XA_INCR, |
30 | XA_WM_PROTOCOLS, |
30 | XA_WM_PROTOCOLS, |
31 | XA_WM_DELETE_WINDOW, |
31 | XA_WM_DELETE_WINDOW, |
32 | XA_CLIPBOARD, |
32 | XA_CLIPBOARD, |
|
|
33 | XA_AVERAGE_WIDTH, |
|
|
34 | XA_WEIGHT_NAME, |
|
|
35 | XA_SLANT, |
|
|
36 | XA_CHARSET_REGISTRY, |
|
|
37 | XA_CHARSET_ENCODING, |
33 | #if ENABLE_FRILLS |
38 | #if ENABLE_FRILLS |
34 | XA_MOTIF_WM_HINTS, |
39 | XA_MOTIF_WM_HINTS, |
35 | #endif |
40 | #endif |
36 | #if ENABLE_EWMH |
41 | #if ENABLE_EWMH |
37 | XA_NET_WM_PID, |
42 | XA_NET_WM_PID, |
… | |
… | |
48 | XA_ESETROOT_PMAP_ID, |
53 | XA_ESETROOT_PMAP_ID, |
49 | #endif |
54 | #endif |
50 | #if ENABLE_XEMBED |
55 | #if ENABLE_XEMBED |
51 | XA_XEMBED, |
56 | XA_XEMBED, |
52 | XA_XEMBED_INFO, |
57 | XA_XEMBED_INFO, |
|
|
58 | #endif |
|
|
59 | #if !ENABLE_MINIMAL |
|
|
60 | // these are usually allocated by other subsystens, but we do it |
|
|
61 | // here to avoid a server roundtrip. |
|
|
62 | XA_SCREEN_RESOURCES, |
|
|
63 | XA_XDCCC_LINEAR_RGB_CORRECTION, |
|
|
64 | XA_XDCCC_LINEAR_RGB_MATRICES, |
|
|
65 | XA_WM_COLORMAP_WINDOWS, |
|
|
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 |
53 | #endif |
76 | #endif |
54 | NUM_XA |
77 | NUM_XA |
55 | }; |
78 | }; |
56 | |
79 | |
57 | struct rxvt_term; |
80 | struct rxvt_term; |
… | |
… | |
226 | 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); } |
227 | 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); } |
228 | |
251 | |
229 | void get (rxvt_screen *screen, rxvt_rgba &rgba); |
252 | void get (rxvt_screen *screen, rxvt_rgba &rgba); |
230 | |
253 | |
|
|
254 | bool alloc (rxvt_screen *screen, rxvt_rgba rgba); |
|
|
255 | |
231 | bool set (rxvt_screen *screen, const char *name); |
256 | bool set (rxvt_screen *screen, const char *name); |
232 | bool set (rxvt_screen *screen, rxvt_rgba rgba); |
257 | bool set (rxvt_screen *screen, rxvt_rgba rgba); |
233 | |
258 | |
234 | rxvt_color fade (rxvt_screen *screen, int percent); // fades to black |
259 | rxvt_color fade (rxvt_screen *screen, int percent); // fades to black |
235 | rxvt_color fade (rxvt_screen *screen, int percent, rxvt_color &fadeto); |
260 | rxvt_color fade (rxvt_screen *screen, int percent, rxvt_color &fadeto); |