… | |
… | |
104 | Window vt; /* vt100 window */ |
104 | Window vt; /* vt100 window */ |
105 | GC gc; /* GC for drawing */ |
105 | GC gc; /* GC for drawing */ |
106 | Pixmap pixmap; |
106 | Pixmap pixmap; |
107 | rxvt_fontset *fontset; |
107 | rxvt_fontset *fontset; |
108 | rxvt_drawable *drawable; |
108 | rxvt_drawable *drawable; |
|
|
109 | uint16_t ascii_map[0x7f - 0x20]; // map ascii chars to fonts for speed |
109 | } TermWin_t; |
110 | } TermWin_t; |
110 | |
111 | |
111 | /* |
112 | /* |
112 | * screen accounting: |
113 | * screen accounting: |
113 | * screen_t elements |
114 | * screen_t elements |
… | |
… | |
195 | #define Opt_meta8 (1UL<<10) |
196 | #define Opt_meta8 (1UL<<10) |
196 | #define Opt_scrollTtyOutput (1UL<<11) |
197 | #define Opt_scrollTtyOutput (1UL<<11) |
197 | #define Opt_scrollTtyKeypress (1UL<<12) |
198 | #define Opt_scrollTtyKeypress (1UL<<12) |
198 | #define Opt_transparent (1UL<<13) |
199 | #define Opt_transparent (1UL<<13) |
199 | #define Opt_transparent_all (1UL<<14) |
200 | #define Opt_transparent_all (1UL<<14) |
200 | #define Opt_15 (1UL<<15) // UNALLOCATED |
201 | #define Opt_realBold (1UL<<15) |
201 | #define Opt_tripleclickwords (1UL<<16) |
202 | #define Opt_tripleclickwords (1UL<<16) |
202 | #define Opt_scrollWithBuffer (1UL<<17) |
203 | #define Opt_scrollWithBuffer (1UL<<17) |
203 | #define Opt_jumpScroll (1UL<<18) |
204 | #define Opt_jumpScroll (1UL<<18) |
204 | #define Opt_mouseWheelScrollPage (1UL<<19) |
205 | #define Opt_mouseWheelScrollPage (1UL<<19) |
205 | #define Opt_pointerBlank (1UL<<20) |
206 | #define Opt_pointerBlank (1UL<<20) |
206 | #define Opt_cursorBlink (1UL<<21) |
207 | #define Opt_cursorBlink (1UL<<21) |
|
|
208 | #define Opt_secondaryScreen (1UL<<22) |
|
|
209 | #define Opt_secondaryScroll (1UL<<23) |
207 | #ifdef NO_FRILLS |
210 | #ifdef NO_FRILLS |
208 | # define Opt_insecure 0 |
211 | # define Opt_insecure 0 |
|
|
212 | # define Opt_borderLess 0 |
209 | #else |
213 | #else |
210 | # define Opt_insecure (1UL<<22) // insecure esc sequences |
214 | # define Opt_insecure (1UL<<24) // insecure esc sequences |
|
|
215 | # define Opt_borderLess (1UL<<25) // mem borderless hints |
211 | #endif |
216 | #endif |
212 | #define Opt_secondaryScreen (1UL<<23) |
|
|
213 | #define Opt_secondaryScroll (1UL<<24) |
|
|
214 | /* place holder used for parsing command-line options */ |
217 | /* place holder used for parsing command-line options */ |
215 | #define Opt_Reverse (1UL<<30) |
218 | #define Opt_Reverse (1UL<<30) |
216 | #define Opt_Boolean (1UL<<31) |
219 | #define Opt_Boolean (1UL<<31) |
217 | |
220 | |
218 | #define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput | \ |
221 | #define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput | \ |
… | |
… | |
250 | menuBar_t menuBar; |
253 | menuBar_t menuBar; |
251 | unsigned long Options; |
254 | unsigned long Options; |
252 | XSizeHints szHint; |
255 | XSizeHints szHint; |
253 | rxvt_display *display; |
256 | rxvt_display *display; |
254 | rxvt_color *PixColors; |
257 | rxvt_color *PixColors; |
|
|
258 | rxvt_color *PixColorsFocused; |
|
|
259 | #ifdef OFF_FOCUS_FADING |
|
|
260 | rxvt_color *PixColorsUnFocused; |
|
|
261 | #endif |
255 | short numPixColors; |
262 | short numPixColors; |
256 | Cursor TermWin_cursor; /* cursor for vt window */ |
263 | Cursor TermWin_cursor; /* cursor for vt window */ |
257 | int sb_shadow; /* scrollbar shadow width */ |
264 | int sb_shadow; /* scrollbar shadow width */ |
258 | int cmd_fd; /* pty file descriptor; connected to command */ |
265 | int cmd_fd; /* pty file descriptor; connected to command */ |
259 | int tty_fd; /* tty file descriptor; connected to child */ |
266 | int tty_fd; /* tty file descriptor; connected to child */ |