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.27 by pcg, Sat Jan 31 00:20:21 2004 UTC vs.
Revision 1.30 by pcg, Sat Jan 31 04:20:20 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#endif
953#ifdef NEXT_SCROLLBAR 958#ifdef NEXT_SCROLLBAR
954 GC blackGC, 959 GC blackGC,
955 whiteGC, 960 whiteGC,
956 grayGC, 961 grayGC,
957 darkGC, 962 darkGC,
1292 // scrollbar-next.C 1297 // scrollbar-next.C
1293 Pixmap renderPixmap (const char *const *data, int width, int height); 1298 Pixmap renderPixmap (const char *const *data, int width, int height);
1294 void init_scrollbar_stuff (); 1299 void init_scrollbar_stuff ();
1295 void drawBevel (Drawable d, int x1, int y1, int w, int h); 1300 void drawBevel (Drawable d, int x1, int y1, int w, int h);
1296 int scrollbar_show_next (int update, int last_top, int last_bot, int scrollbar_len); 1301 int scrollbar_show_next (int update, int last_top, int last_bot, int scrollbar_len);
1297# define scrollbar_update scrollbar_show_next // HACK
1298#endif 1302#endif
1299 1303
1300#if defined(RXVT_SCROLLBAR) 1304#if defined(RXVT_SCROLLBAR)
1301 // scrollbar-rxvt.C 1305 // scrollbar-rxvt.C
1302 void Draw_button (int x, int y, int state, int dirn); 1306 void Draw_button (int x, int y, int state, int dirn);
1303 int scrollbar_show_rxvt (int update, int last_top, int last_bot, int scrollbar_len); 1307 int scrollbar_show_rxvt (int update, int last_top, int last_bot, int scrollbar_len);
1304# define scrollbar_update scrollbar_show_rxvt // HACK
1305#endif 1308#endif
1306 1309
1307#if defined(XTERM_SCROLLBAR) 1310#if defined(XTERM_SCROLLBAR)
1308 // scrollbar-xterm.C 1311 // scrollbar-xterm.C
1309 int scrollbar_show_xterm (int update, int last_top, int last_bot, int scrollbar_len); 1312 int scrollbar_show_xterm (int update, int last_top, int last_bot, int scrollbar_len);
1310# define scrollbar_update scrollbar_show_xterm // HACK 1313#endif
1314
1315#if defined(PLAIN_SCROLLBAR)
1316 // scrollbar-plain.C
1317 int scrollbar_show_plain (int update, int last_top, int last_bot, int scrollbar_len);
1311#endif 1318#endif
1312 1319
1313 // scrollbar.C 1320 // scrollbar.C
1314 int scrollbar_mapping (int map); 1321 int scrollbar_mapping (int map);
1315 int scrollbar_show (int update); 1322 int scrollbar_show (int update);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines