… | |
… | |
212 | # include "optinc.h" |
212 | # include "optinc.h" |
213 | # undef nodef |
213 | # undef nodef |
214 | # undef def |
214 | # undef def |
215 | }; |
215 | }; |
216 | |
216 | |
217 | #define SET_OPTION(opt) (options |= (opt)) |
|
|
218 | #define CLR_OPTION(opt) (options &= ~(opt)) |
|
|
219 | #define OPTION(opt) (options & (opt)) |
|
|
220 | #define OPTION_R(opt) (r->options & (opt)) |
|
|
221 | #define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \ |
|
|
222 | | Opt_jumpScroll | Opt_secondaryScreen \ |
|
|
223 | | Opt_pastableTabs | Opt_intensityStyles) |
|
|
224 | |
|
|
225 | /* ------------------------------------------------------------------------- */ |
217 | /* ------------------------------------------------------------------------- */ |
226 | |
218 | |
227 | typedef struct { |
219 | typedef struct { |
228 | short state; |
220 | short state; |
229 | Window win; |
221 | Window win; |
… | |
… | |
249 | } scrollBar_t; |
241 | } scrollBar_t; |
250 | |
242 | |
251 | struct rxvt_vars : TermWin_t { |
243 | struct rxvt_vars : TermWin_t { |
252 | scrollBar_t scrollBar; |
244 | scrollBar_t scrollBar; |
253 | menuBar_t menuBar; |
245 | menuBar_t menuBar; |
254 | unsigned long options; |
246 | uint32_t options; |
255 | XSizeHints szHint; |
247 | XSizeHints szHint; |
256 | rxvt_display *display; |
248 | rxvt_display *display; |
257 | rxvt_color *pix_colors; |
249 | rxvt_color *pix_colors; |
258 | rxvt_color *pix_colors_focused; |
250 | rxvt_color *pix_colors_focused; |
259 | #ifdef OFF_FOCUS_FADING |
251 | #ifdef OFF_FOCUS_FADING |