… | |
… | |
44 | struct rxvt_color; |
44 | struct rxvt_color; |
45 | struct rxvt_vars; /* defined later on */ |
45 | struct rxvt_vars; /* defined later on */ |
46 | struct rxvt_term; |
46 | struct rxvt_term; |
47 | struct rxvt_display; |
47 | struct rxvt_display; |
48 | struct rxvt_im; |
48 | struct rxvt_im; |
|
|
49 | struct rxvt_drawable; |
49 | |
50 | |
50 | typedef struct rxvt_term *rxvt_t; |
51 | typedef struct rxvt_term *rxvt_t; |
51 | |
52 | |
52 | extern rxvt_t rxvt_current_term; |
53 | extern rxvt_t rxvt_current_term; |
53 | |
54 | |
… | |
… | |
100 | Window parent[6]; /* parent identifiers - we're parent[0] */ |
101 | Window parent[6]; /* parent identifiers - we're parent[0] */ |
101 | Window vt; /* vt100 window */ |
102 | Window vt; /* vt100 window */ |
102 | GC gc; /* GC for drawing */ |
103 | GC gc; /* GC for drawing */ |
103 | Pixmap pixmap; |
104 | Pixmap pixmap; |
104 | rxvt_fontset *fontset; |
105 | rxvt_fontset *fontset; |
|
|
106 | rxvt_drawable *drawable; |
105 | } TermWin_t; |
107 | } TermWin_t; |
106 | |
108 | |
107 | /* |
109 | /* |
108 | * screen accounting: |
110 | * screen accounting: |
109 | * screen_t elements |
111 | * screen_t elements |
… | |
… | |
195 | #define Opt_meta8 (1LU<<10) |
197 | #define Opt_meta8 (1LU<<10) |
196 | #define Opt_scrollTtyOutput (1LU<<11) |
198 | #define Opt_scrollTtyOutput (1LU<<11) |
197 | #define Opt_scrollTtyKeypress (1LU<<12) |
199 | #define Opt_scrollTtyKeypress (1LU<<12) |
198 | #define Opt_transparent (1LU<<13) |
200 | #define Opt_transparent (1LU<<13) |
199 | #define Opt_transparent_all (1LU<<14) |
201 | #define Opt_transparent_all (1LU<<14) |
200 | #define Opt_mc_hack (1LU<<15) |
202 | #define Opt_15 (1LU<<15) // UNALLOCATED |
201 | #define Opt_tripleclickwords (1LU<<16) |
203 | #define Opt_tripleclickwords (1LU<<16) |
202 | #define Opt_scrollWithBuffer (1LU<<17) |
204 | #define Opt_scrollWithBuffer (1LU<<17) |
203 | #define Opt_jumpScroll (1LU<<18) |
205 | #define Opt_jumpScroll (1LU<<18) |
204 | #define Opt_mouseWheelScrollPage (1LU<<19) |
206 | #define Opt_mouseWheelScrollPage (1LU<<19) |
205 | #define Opt_pointerBlank (1LU<<20) |
207 | #define Opt_pointerBlank (1LU<<20) |
… | |
… | |
214 | /* ------------------------------------------------------------------------- */ |
216 | /* ------------------------------------------------------------------------- */ |
215 | |
217 | |
216 | typedef struct { |
218 | typedef struct { |
217 | short state; |
219 | short state; |
218 | Window win; |
220 | Window win; |
|
|
221 | struct rxvt_drawable *drawable; |
219 | } menuBar_t; |
222 | } menuBar_t; |
220 | |
223 | |
221 | typedef struct { |
224 | typedef struct { |
222 | char state; /* scrollbar state */ |
225 | char state; /* scrollbar state */ |
223 | char init; /* scrollbar has been initialised */ |
226 | char init; /* scrollbar has been initialised */ |