… | |
… | |
204 | #define Screen_WrapNext (1<<4) /* need to wrap for next char? */ |
204 | #define Screen_WrapNext (1<<4) /* need to wrap for next char? */ |
205 | #define Screen_DefaultFlags (Screen_VisibleCursor | Screen_Autowrap) |
205 | #define Screen_DefaultFlags (Screen_VisibleCursor | Screen_Autowrap) |
206 | |
206 | |
207 | /* rxvt_vars.options */ |
207 | /* rxvt_vars.options */ |
208 | enum { |
208 | enum { |
209 | # define def(name,idx) Opt_ ## name = 1UL << (idx), Opt_ ## name ## _idx = idx, |
209 | # define def(name,idx) Opt_ ## name = idx, |
210 | # define nodef(name) Opt_ ## name = 0, Opt_ ## name ## _idx = 0, |
210 | # define nodef(name) Opt_ ## name = 0, |
211 | # include "optinc.h" |
211 | # include "optinc.h" |
212 | # undef nodef |
212 | # undef nodef |
213 | # undef def |
213 | # undef def |
|
|
214 | Opt_count |
214 | }; |
215 | }; |
215 | |
216 | |
216 | /* ------------------------------------------------------------------------- */ |
217 | /* ------------------------------------------------------------------------- */ |
217 | |
218 | |
218 | typedef struct { |
219 | typedef struct { |
… | |
… | |
233 | void setDn() { state = 'D'; } |
234 | void setDn() { state = 'D'; } |
234 | } scrollBar_t; |
235 | } scrollBar_t; |
235 | |
236 | |
236 | struct rxvt_vars : TermWin_t { |
237 | struct rxvt_vars : TermWin_t { |
237 | scrollBar_t scrollBar; |
238 | scrollBar_t scrollBar; |
238 | uint32_t options; |
239 | uint8_t options[(Opt_count + 7) >> 3]; |
239 | XSizeHints szHint; |
240 | XSizeHints szHint; |
240 | rxvt_color *pix_colors; |
241 | rxvt_color *pix_colors; |
241 | rxvt_color *pix_colors_focused; |
242 | rxvt_color *pix_colors_focused; |
242 | #ifdef OFF_FOCUS_FADING |
243 | #ifdef OFF_FOCUS_FADING |
243 | rxvt_color *pix_colors_unfocused; |
244 | rxvt_color *pix_colors_unfocused; |