… | |
… | |
28 | # include <wchar.h> |
28 | # include <wchar.h> |
29 | #else |
29 | #else |
30 | // stdlib.h might provide it |
30 | // stdlib.h might provide it |
31 | #endif |
31 | #endif |
32 | |
32 | |
33 | #include "ptytty.h" |
|
|
34 | #include "logging.h" |
|
|
35 | |
|
|
36 | extern "C" { |
33 | extern "C" { |
37 | #include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ |
34 | #include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ |
38 | } |
35 | } |
39 | |
36 | |
40 | /* |
37 | /* |
… | |
… | |
53 | |
50 | |
54 | struct rxvt_fontset; |
51 | struct rxvt_fontset; |
55 | struct rxvt_color; |
52 | struct rxvt_color; |
56 | struct rxvt_vars; /* defined later on */ |
53 | struct rxvt_vars; /* defined later on */ |
57 | struct rxvt_term; |
54 | struct rxvt_term; |
58 | struct rxvt_display; |
|
|
59 | struct rxvt_im; |
55 | struct rxvt_im; |
60 | struct rxvt_drawable; |
56 | struct rxvt_drawable; |
61 | |
57 | |
62 | typedef struct rxvt_term *rxvt_t; |
58 | typedef struct rxvt_term *rxvt_t; |
63 | |
59 | |
… | |
… | |
235 | |
231 | |
236 | struct rxvt_vars : TermWin_t { |
232 | struct rxvt_vars : TermWin_t { |
237 | scrollBar_t scrollBar; |
233 | scrollBar_t scrollBar; |
238 | uint32_t options; |
234 | uint32_t options; |
239 | XSizeHints szHint; |
235 | XSizeHints szHint; |
240 | rxvt_display *display; |
|
|
241 | rxvt_color *pix_colors; |
236 | rxvt_color *pix_colors; |
242 | rxvt_color *pix_colors_focused; |
237 | rxvt_color *pix_colors_focused; |
243 | #ifdef OFF_FOCUS_FADING |
238 | #ifdef OFF_FOCUS_FADING |
244 | rxvt_color *pix_colors_unfocused; |
239 | rxvt_color *pix_colors_unfocused; |
245 | #endif |
240 | #endif |
… | |
… | |
255 | screen_t swap; |
250 | screen_t swap; |
256 | selection_t selection; |
251 | selection_t selection; |
257 | }; |
252 | }; |
258 | |
253 | |
259 | void rxvt_init (); |
254 | void rxvt_init (); |
260 | bool rxvt_tainted (); |
|
|
261 | |
255 | |
262 | #endif /* _RXVTLIB_H_ */ |
256 | #endif /* _RXVTLIB_H_ */ |
263 | |
257 | |