… | |
… | |
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/Xlib.h> |
|
|
35 | #include <X11/Xutil.h> |
|
|
36 | #include <X11/Xresource.h> |
38 | } |
37 | } |
39 | |
38 | |
40 | /* |
39 | /* |
41 | * If we haven't pulled in typedef's like int16_t then do them ourself |
40 | * If we haven't pulled in typedef's like int16_t then do them ourself |
42 | * type of (normal and unsigned) basic sizes |
41 | * type of (normal and unsigned) basic sizes |
… | |
… | |
53 | |
52 | |
54 | struct rxvt_fontset; |
53 | struct rxvt_fontset; |
55 | struct rxvt_color; |
54 | struct rxvt_color; |
56 | struct rxvt_vars; /* defined later on */ |
55 | struct rxvt_vars; /* defined later on */ |
57 | struct rxvt_term; |
56 | struct rxvt_term; |
58 | struct rxvt_display; |
|
|
59 | struct rxvt_im; |
57 | struct rxvt_im; |
60 | struct rxvt_drawable; |
58 | struct rxvt_drawable; |
61 | |
59 | |
62 | typedef struct rxvt_term *rxvt_t; |
60 | typedef struct rxvt_term *rxvt_t; |
63 | |
61 | |
… | |
… | |
235 | |
233 | |
236 | struct rxvt_vars : TermWin_t { |
234 | struct rxvt_vars : TermWin_t { |
237 | scrollBar_t scrollBar; |
235 | scrollBar_t scrollBar; |
238 | uint32_t options; |
236 | uint32_t options; |
239 | XSizeHints szHint; |
237 | XSizeHints szHint; |
240 | rxvt_display *display; |
|
|
241 | rxvt_color *pix_colors; |
238 | rxvt_color *pix_colors; |
242 | rxvt_color *pix_colors_focused; |
239 | rxvt_color *pix_colors_focused; |
243 | #ifdef OFF_FOCUS_FADING |
240 | #ifdef OFF_FOCUS_FADING |
244 | rxvt_color *pix_colors_unfocused; |
241 | rxvt_color *pix_colors_unfocused; |
245 | #endif |
242 | #endif |
… | |
… | |
255 | screen_t swap; |
252 | screen_t swap; |
256 | selection_t selection; |
253 | selection_t selection; |
257 | }; |
254 | }; |
258 | |
255 | |
259 | void rxvt_init (); |
256 | void rxvt_init (); |
260 | bool rxvt_tainted (); |
|
|
261 | |
257 | |
262 | #endif /* _RXVTLIB_H_ */ |
258 | #endif /* _RXVTLIB_H_ */ |
263 | |
259 | |