ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.182 by root, Mon Jan 2 18:20:23 2006 UTC vs.
Revision 1.183 by root, Tue Jan 3 02:43:33 2006 UTC

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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines