… | |
… | |
65 | #endif |
65 | #endif |
66 | #if USE_XIM |
66 | #if USE_XIM |
67 | XA_WM_LOCALE_NAME, |
67 | XA_WM_LOCALE_NAME, |
68 | XA_XIM_SERVERS, |
68 | XA_XIM_SERVERS, |
69 | #endif |
69 | #endif |
70 | #if TRANSPARENT |
70 | #if ENABLE_TRANSPARENCY |
71 | XA_XROOTPMAP_ID, |
71 | XA_XROOTPMAP_ID, |
72 | XA_ESETROOT_PMAP_ID, |
72 | XA_ESETROOT_PMAP_ID, |
73 | #endif |
73 | #endif |
74 | #if ENABLE_XEMBED |
74 | #if ENABLE_XEMBED |
75 | XA_XEMBED, |
75 | XA_XEMBED, |
… | |
… | |
183 | |
183 | |
184 | rxvt_screen (); |
184 | rxvt_screen (); |
185 | #endif |
185 | #endif |
186 | |
186 | |
187 | void set (rxvt_display *disp); |
187 | void set (rxvt_display *disp); |
188 | void set (rxvt_display *disp, int bitdepth); |
188 | void select_visual (int bitdepth); |
189 | void clear (); |
189 | void clear (); |
190 | }; |
190 | }; |
191 | |
191 | |
192 | struct rxvt_display : refcounted { |
192 | struct rxvt_display : refcounted { |
193 | io_manager_vec<xevent_watcher> xw; |
193 | io_manager_vec<xevent_watcher> xw; |
… | |
… | |
306 | bool alloc (rxvt_screen *screen, const rgba &color); |
306 | bool alloc (rxvt_screen *screen, const rgba &color); |
307 | void free (rxvt_screen *screen); |
307 | void free (rxvt_screen *screen); |
308 | |
308 | |
309 | void get (rgba &color); |
309 | void get (rgba &color); |
310 | void get (XColor &color); |
310 | void get (XColor &color); |
311 | |
311 | |
312 | bool set (rxvt_screen *screen, const char *name); |
312 | bool set (rxvt_screen *screen, const char *name); |
313 | bool set (rxvt_screen *screen, const rgba &color); |
313 | bool set (rxvt_screen *screen, const rgba &color); |
314 | |
314 | |
315 | void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); |
315 | void fade (rxvt_screen *screen, int percent, rxvt_color &result, const rgba &to = rgba (0, 0, 0)); |
316 | }; |
316 | }; |