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.185 by root, Wed Jan 4 02:37:30 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
469 URxvt_italicFont = 712, 469 URxvt_italicFont = 712,
470 URxvt_boldItalicFont = 713, 470 URxvt_boldItalicFont = 713,
471 471
472 URxvt_view_up = 720, 472 URxvt_view_up = 720,
473 URxvt_view_down = 721, 473 URxvt_view_down = 721,
474
475 URxvt_perl = 777,
474}; 476};
475 477
476/* Words starting with `Color_' are colours. Others are counts */ 478/* Words starting with `Color_' are colours. Others are counts */
477/* 479/*
478 * The PixColor and rendition colour usage should probably be decoupled 480 * The PixColor and rendition colour usage should probably be decoupled
555 557
556/* 558/*
557 * Resource list 559 * Resource list
558 */ 560 */
559enum { 561enum {
560#define Rs_def(name) Rs_ ## name, 562# define def(name) Rs_ ## name,
561#define Rs_reserve(name,count) Rs_ ## name ## _ = Rs_ ## name + (count) - 1, 563# define reserve(name,count) Rs_ ## name ## _ = Rs_ ## name + (count) - 1,
562#include "rsinc.h" 564# include "rsinc.h"
563#undef Rs_def 565# undef def
564#undef Rs_reserve 566# undef reserve
565 NUM_RESOURCES 567 NUM_RESOURCES
566}; 568};
567 569
568// see init.C:xa_names, which must be kept in sync 570// see init.C:xa_names, which must be kept in sync
569enum { 571enum {
782#define scrollbar_size() (scrollBar.end - scrollBar.beg \ 784#define scrollbar_size() (scrollBar.end - scrollBar.beg \
783 - scrollbar_minheight ()) 785 - scrollbar_minheight ())
784 786
785#if (MENUBAR_MAX > 1) 787#if (MENUBAR_MAX > 1)
786/* rendition style flags */ 788/* rendition style flags */
787# define menuBar_height() (fheight + SHADOW) 789# define menuBar_height() (fheight + MENU_SHADOW)
788# define menuBar_TotalHeight() (menuBar_height() + SHADOW + menuBar_margin) 790# define menuBar_TotalHeight() (menuBar_height() + MENU_SHADOW + menuBar_margin)
789# define isMenuBarWindow(w) ((w) == menuBar.win) 791# define isMenuBarWindow(w) ((w) == menuBar.win)
790#else 792#else
791# define menuBar_height() (0) 793# define menuBar_height() (0)
792# define menuBar_TotalHeight() (0) 794# define menuBar_TotalHeight() (0)
793# define isMenuBarWindow(w) (0) 795# define isMenuBarWindow(w) (0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines