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