… | |
… | |
238 | # define HAVE_SCROLLBARS 1 |
238 | # define HAVE_SCROLLBARS 1 |
239 | #endif |
239 | #endif |
240 | |
240 | |
241 | /* width of scrollBar, menuBar shadow, must be 1 or 2 */ |
241 | /* width of scrollBar, menuBar shadow, must be 1 or 2 */ |
242 | #ifdef HALFSHADOW |
242 | #ifdef HALFSHADOW |
243 | # define SHADOW 1 |
243 | # define MENU_SHADOW 1 |
244 | #else |
244 | #else |
245 | # define SHADOW 2 |
245 | # define MENU_SHADOW 2 |
246 | #endif |
246 | #endif |
247 | |
247 | |
248 | #define R_SB_ALIGN_CENTRE 0 |
248 | #define R_SB_ALIGN_CENTRE 0 |
249 | #define R_SB_ALIGN_TOP 1 |
249 | #define R_SB_ALIGN_TOP 1 |
250 | #define R_SB_ALIGN_BOTTOM 2 |
250 | #define R_SB_ALIGN_BOTTOM 2 |
… | |
… | |
782 | #define scrollbar_size() (scrollBar.end - scrollBar.beg \ |
782 | #define scrollbar_size() (scrollBar.end - scrollBar.beg \ |
783 | - scrollbar_minheight ()) |
783 | - scrollbar_minheight ()) |
784 | |
784 | |
785 | #if (MENUBAR_MAX > 1) |
785 | #if (MENUBAR_MAX > 1) |
786 | /* rendition style flags */ |
786 | /* rendition style flags */ |
787 | # define menuBar_height() (fheight + SHADOW) |
787 | # define menuBar_height() (fheight + MENU_SHADOW) |
788 | # define menuBar_TotalHeight() (menuBar_height() + SHADOW + menuBar_margin) |
788 | # define menuBar_TotalHeight() (menuBar_height() + MENU_SHADOW + menuBar_margin) |
789 | # define isMenuBarWindow(w) ((w) == menuBar.win) |
789 | # define isMenuBarWindow(w) ((w) == menuBar.win) |
790 | #else |
790 | #else |
791 | # define menuBar_height() (0) |
791 | # define menuBar_height() (0) |
792 | # define menuBar_TotalHeight() (0) |
792 | # define menuBar_TotalHeight() (0) |
793 | # define isMenuBarWindow(w) (0) |
793 | # define isMenuBarWindow(w) (0) |
… | |
… | |
849 | extern void rxvt_fatal (const char *fmt, ...) __attribute__ ((noreturn)); |
849 | extern void rxvt_fatal (const char *fmt, ...) __attribute__ ((noreturn)); |
850 | extern void rxvt_exit_failure () __attribute__ ((noreturn)); |
850 | extern void rxvt_exit_failure () __attribute__ ((noreturn)); |
851 | |
851 | |
852 | #define SET_LOCALE(locale) rxvt_set_locale (locale) |
852 | #define SET_LOCALE(locale) rxvt_set_locale (locale) |
853 | extern bool rxvt_set_locale (const char *locale); |
853 | extern bool rxvt_set_locale (const char *locale); |
|
|
854 | extern bool rxvt_push_locale (const char *locale); |
|
|
855 | extern void rxvt_pop_locale (); |
854 | |
856 | |
855 | /* |
857 | /* |
856 | ***************************************************************************** |
858 | ***************************************************************************** |
857 | * VARIABLES |
859 | * VARIABLES |
858 | ***************************************************************************** |
860 | ***************************************************************************** |