… | |
… | |
118 | char ** rxvt_splitcommastring (const char *cs); |
118 | char ** rxvt_splitcommastring (const char *cs); |
119 | void rxvt_freecommastring (char **cs); |
119 | void rxvt_freecommastring (char **cs); |
120 | char * rxvt_File_find (const char *file, const char *ext, const char *path); |
120 | char * rxvt_File_find (const char *file, const char *ext, const char *path); |
121 | void rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h); |
121 | void rxvt_Draw_Shadow (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int h); |
122 | void rxvt_Draw_Triangle (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int type); |
122 | void rxvt_Draw_Triangle (Display *display, Window win, GC topShadow, GC botShadow, int x, int y, int w, int type); |
|
|
123 | void rxvt_usleep (int usecs); |
123 | |
124 | |
124 | /* |
125 | /* |
125 | ***************************************************************************** |
126 | ***************************************************************************** |
126 | * STRUCTURES AND TYPEDEFS |
127 | * STRUCTURES AND TYPEDEFS |
127 | ***************************************************************************** |
128 | ***************************************************************************** |
… | |
… | |
137 | #endif |
138 | #endif |
138 | |
139 | |
139 | /* If we're using either the rxvt scrollbar or menu bars, keep the |
140 | /* If we're using either the rxvt scrollbar or menu bars, keep the |
140 | * scrollColor resource. |
141 | * scrollColor resource. |
141 | */ |
142 | */ |
142 | #if defined(RXVT_SCROLLBAR) || defined(MENUBAR) || defined(PLAIN_SCROLLBAR) |
143 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(MENUBAR) || defined(PLAIN_SCROLLBAR) |
143 | # define KEEP_SCROLLCOLOR 1 |
144 | # define KEEP_SCROLLCOLOR 1 |
144 | #else |
145 | #else |
145 | # undef KEEP_SCROLLCOLOR |
146 | # undef KEEP_SCROLLCOLOR |
146 | #endif |
147 | #endif |
147 | |
148 | |
… | |
… | |
267 | |
268 | |
268 | #define R_SB_ALIGN_CENTRE 0 |
269 | #define R_SB_ALIGN_CENTRE 0 |
269 | #define R_SB_ALIGN_TOP 1 |
270 | #define R_SB_ALIGN_TOP 1 |
270 | #define R_SB_ALIGN_BOTTOM 2 |
271 | #define R_SB_ALIGN_BOTTOM 2 |
271 | |
272 | |
272 | #define R_SB_RXVT 0 |
|
|
273 | #define R_SB_NEXT 1 |
273 | #define R_SB_NEXT 1 |
274 | #define R_SB_XTERM 2 |
274 | #define R_SB_XTERM 2 |
275 | #define R_SB_PLAIN 4 |
275 | #define R_SB_PLAIN 4 |
|
|
276 | #define R_SB_RXVT 8 |
276 | |
277 | |
277 | #define SB_WIDTH_NEXT 19 |
278 | #define SB_WIDTH_NEXT 19 |
278 | #define SB_WIDTH_XTERM 15 |
279 | #define SB_WIDTH_XTERM 15 |
279 | #define SB_WIDTH_PLAIN 7 |
280 | #define SB_WIDTH_PLAIN 7 |
280 | #ifndef SB_WIDTH_RXVT |
281 | #ifndef SB_WIDTH_RXVT |
… | |
… | |
1227 | void scr_overlay_off (); |
1228 | void scr_overlay_off (); |
1228 | void scr_overlay_set (int x, int y, |
1229 | void scr_overlay_set (int x, int y, |
1229 | text_t text, |
1230 | text_t text, |
1230 | rend_t rend = OVERLAY_RSTYLE); |
1231 | rend_t rend = OVERLAY_RSTYLE); |
1231 | void scr_overlay_set (int x, int y, const char *s); |
1232 | void scr_overlay_set (int x, int y, const char *s); |
|
|
1233 | void scr_overlay_set (int x, int y, const wchar_t *s); |
1232 | #endif |
1234 | #endif |
1233 | |
1235 | |
1234 | vector<void *> allocated; // free these memory blocks with free() |
1236 | vector<void *> allocated; // free these memory blocks with free() |
1235 | |
1237 | |
1236 | char *env_windowid; /* environmental variable WINDOWID */ |
1238 | char *env_windowid; /* environmental variable WINDOWID */ |