… | |
… | |
252 | #define Opt_secondaryScroll (1UL<<21) |
252 | #define Opt_secondaryScroll (1UL<<21) |
253 | #define Opt_pastableTabs (1UL<<22) |
253 | #define Opt_pastableTabs (1UL<<22) |
254 | #define Opt_cursorUnderline (1UL<<23) |
254 | #define Opt_cursorUnderline (1UL<<23) |
255 | #if ENABLE_FRILLS |
255 | #if ENABLE_FRILLS |
256 | # define Opt_insecure (1UL<<24) // insecure esc sequences |
256 | # define Opt_insecure (1UL<<24) // insecure esc sequences |
257 | # define Opt_borderLess (1UL<<25) // mem borderless hints |
257 | # define Opt_borderLess (1UL<<25) // mwm borderless hints |
258 | # define Opt_hold (1UL<<26) // hold window open after exit |
258 | # define Opt_hold (1UL<<26) // hold window open after exit |
|
|
259 | # define Opt_skipBuiltinGlyphs (1UL<<27) // do not use internal glyphs |
259 | #else |
260 | #else |
260 | # define Opt_insecure 0 |
261 | # define Opt_insecure 0 |
261 | # define Opt_borderLess 0 |
262 | # define Opt_borderLess 0 |
262 | # define Opt_hold 0 |
263 | # define Opt_hold 0 |
|
|
264 | # define Opt_skipBuiltinGlyphs 0 |
263 | #endif |
265 | #endif |
264 | #if ENABLE_STYLES |
266 | #if ENABLE_STYLES |
265 | # define Opt_intensityStyles (1UL<<27) // font styles imply intensity |
267 | # define Opt_intensityStyles (1UL<<28) // font styles imply intensity |
266 | #else |
268 | #else |
267 | # define Opt_intensityStyles 0 |
269 | # define Opt_intensityStyles 0 |
268 | #endif |
270 | #endif |
269 | |
271 | |
270 | #define SET_OPTION(opt) (options |= (opt)) |
272 | #define SET_OPTION(opt) (options |= (opt)) |
271 | #define CLR_OPTION(opt) (options &= ~(opt)) |
273 | #define CLR_OPTION(opt) (options &= ~(opt)) |
272 | #define OPTION(opt) (options & (opt)) |
274 | #define OPTION(opt) (options & (opt)) |
|
|
275 | #define OPTION_R(opt) (r->options & (opt)) |
273 | #define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \ |
276 | #define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput \ |
274 | | Opt_jumpScroll | Opt_secondaryScreen \ |
277 | | Opt_jumpScroll | Opt_secondaryScreen \ |
275 | | Opt_pastableTabs | Opt_intensityStyles) |
278 | | Opt_pastableTabs | Opt_intensityStyles) |
276 | |
279 | |
277 | /* ------------------------------------------------------------------------- */ |
280 | /* ------------------------------------------------------------------------- */ |