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.28 by pcg, Sat Jan 31 02:14:58 2004 UTC vs.
Revision 1.29 by pcg, Sat Jan 31 04:12:10 2004 UTC

182 182
183#define menuBar_esc 10 183#define menuBar_esc 10
184#define scrollBar_esc 30 184#define scrollBar_esc 30
185#define menuBar_margin 2 /* margin below text */ 185#define menuBar_margin 2 /* margin below text */
186 186
187#if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) 187#if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR)
188# define HAVE_SCROLLBARS 188# define HAVE_SCROLLBARS
189#endif 189#endif
190 190
191/* width of scrollBar, menuBar shadow, must be 1 or 2 */ 191/* width of scrollBar, menuBar shadow, must be 1 or 2 */
192#ifdef HALFSHADOW 192#ifdef HALFSHADOW
200#define R_SB_ALIGN_BOTTOM 2 200#define R_SB_ALIGN_BOTTOM 2
201 201
202#define R_SB_RXVT 0 202#define R_SB_RXVT 0
203#define R_SB_NEXT 1 203#define R_SB_NEXT 1
204#define R_SB_XTERM 2 204#define R_SB_XTERM 2
205#define R_SB_PLAIN 4
205 206
206#define SB_WIDTH_NEXT 19 207#define SB_WIDTH_NEXT 19
207#define SB_WIDTH_XTERM 7 208#define SB_WIDTH_XTERM 15
209#define SB_WIDTH_PLAIN 7
208#ifndef SB_WIDTH_RXVT 210#ifndef SB_WIDTH_RXVT
209# define SB_WIDTH_RXVT 10 211# define SB_WIDTH_RXVT 10
210#endif 212#endif
211 213
212/* 214/*
948#endif 950#endif
949#ifdef XTERM_SCROLLBAR 951#ifdef XTERM_SCROLLBAR
950 GC xscrollbarGC, 952 GC xscrollbarGC,
951 ShadowGC; 953 ShadowGC;
952#endif 954#endif
955#ifdef PLAIN_SCROLLBAR
956 GC pscrollbarGC,
957 pShadowGC;
958#endif
953#ifdef NEXT_SCROLLBAR 959#ifdef NEXT_SCROLLBAR
954 GC blackGC, 960 GC blackGC,
955 whiteGC, 961 whiteGC,
956 grayGC, 962 grayGC,
957 darkGC, 963 darkGC,
1305#if defined(XTERM_SCROLLBAR) 1311#if defined(XTERM_SCROLLBAR)
1306 // scrollbar-xterm.C 1312 // scrollbar-xterm.C
1307 int scrollbar_show_xterm (int update, int last_top, int last_bot, int scrollbar_len); 1313 int scrollbar_show_xterm (int update, int last_top, int last_bot, int scrollbar_len);
1308#endif 1314#endif
1309 1315
1316#if defined(PLAIN_SCROLLBAR)
1317 // scrollbar-plain.C
1318 int scrollbar_show_plain (int update, int last_top, int last_bot, int scrollbar_len);
1319#endif
1320
1310 // scrollbar.C 1321 // scrollbar.C
1311 int scrollbar_mapping (int map); 1322 int scrollbar_mapping (int map);
1312 int scrollbar_show (int update); 1323 int scrollbar_show (int update);
1313 void setup_scrollbar (const char *scrollalign, const char *scrollstyle, const char *thickness); 1324 void setup_scrollbar (const char *scrollalign, const char *scrollstyle, const char *thickness);
1314 1325

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines