… | |
… | |
129 | char * rxvt_Str_trim (char *str); |
129 | char * rxvt_Str_trim (char *str); |
130 | int rxvt_Str_escaped (char *str); |
130 | int rxvt_Str_escaped (char *str); |
131 | char ** rxvt_splitcommastring (const char *cs); |
131 | char ** rxvt_splitcommastring (const char *cs); |
132 | void rxvt_freecommastring (char **cs); |
132 | void rxvt_freecommastring (char **cs); |
133 | char * rxvt_File_find (const char *file, const char *ext, const char *path); |
133 | char * rxvt_File_find (const char *file, const char *ext, const char *path); |
134 | void rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h); |
|
|
135 | void rxvt_Draw_Triangle (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int type); |
|
|
136 | void rxvt_usleep (int usecs); |
134 | void rxvt_usleep (int usecs); |
137 | |
135 | |
138 | ///////////////////////////////////////////////////////////////////////////// |
136 | ///////////////////////////////////////////////////////////////////////////// |
139 | |
137 | |
140 | // temporarily replace the process environment |
138 | // temporarily replace the process environment |
… | |
… | |
158 | * STRUCTURES AND TYPEDEFS |
156 | * STRUCTURES AND TYPEDEFS |
159 | ***************************************************************************** |
157 | ***************************************************************************** |
160 | */ |
158 | */ |
161 | struct grwin_t; |
159 | struct grwin_t; |
162 | |
160 | |
163 | /* If we're using either the rxvt scrollbar or menu bars, keep the |
161 | /* If we're using either the rxvt scrollbar, keep the |
164 | * scrollColor resource. |
162 | * scrollColor resource. |
165 | */ |
163 | */ |
166 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
164 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
167 | # define KEEP_SCROLLCOLOR 1 |
165 | # define KEEP_SCROLLCOLOR 1 |
168 | #else |
166 | #else |
… | |
… | |
256 | |
254 | |
257 | #define scrollBar_esc 30 |
255 | #define scrollBar_esc 30 |
258 | |
256 | |
259 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
257 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
260 | # define HAVE_SCROLLBARS 1 |
258 | # define HAVE_SCROLLBARS 1 |
261 | #endif |
|
|
262 | |
|
|
263 | /* width of scrollBar shadow, must be 1 or 2 */ |
|
|
264 | #ifdef HALFSHADOW |
|
|
265 | # define MENU_SHADOW 1 |
|
|
266 | #else |
|
|
267 | # define MENU_SHADOW 2 |
|
|
268 | #endif |
259 | #endif |
269 | |
260 | |
270 | #define R_SB_ALIGN_CENTRE 0 |
261 | #define R_SB_ALIGN_CENTRE 0 |
271 | #define R_SB_ALIGN_TOP 1 |
262 | #define R_SB_ALIGN_TOP 1 |
272 | #define R_SB_ALIGN_BOTTOM 2 |
263 | #define R_SB_ALIGN_BOTTOM 2 |
… | |
… | |
481 | Rxvt_restoreFG = 39, // change default fg color |
472 | Rxvt_restoreFG = 39, // change default fg color |
482 | Rxvt_restoreBG = 49, // change default bg color |
473 | Rxvt_restoreBG = 49, // change default bg color |
483 | Rxvt_dumpscreen = 55, // dump scrollback and all of screen |
474 | Rxvt_dumpscreen = 55, // dump scrollback and all of screen |
484 | |
475 | |
485 | URxvt_locale = 701, // change locale |
476 | URxvt_locale = 701, // change locale |
486 | URxvt_Menu = 703, // set menu item |
477 | |
487 | URxvt_Color_IT = 704, // change actual 'Italic' colour |
478 | URxvt_Color_IT = 704, // change actual 'Italic' colour |
488 | URxvt_Color_tint = 705, // change actual tint colour |
479 | URxvt_Color_tint = 705, // change actual tint colour |
489 | URxvt_Color_BD = 706, |
480 | URxvt_Color_BD = 706, |
490 | URxvt_Color_UL = 707, |
481 | URxvt_Color_UL = 707, |
491 | |
482 | |