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

Comparing rxvt-unicode/src/scrollbar.h (file contents):
Revision 1.21 by ayin, Tue Feb 19 17:49:16 2008 UTC vs.
Revision 1.22 by ayin, Tue Feb 19 17:49:36 2008 UTC

63 unsigned char align; 63 unsigned char align;
64 Window win; 64 Window win;
65 Cursor leftptr_cursor; 65 Cursor leftptr_cursor;
66 int (scrollBar_t::*update)(int); 66 int (scrollBar_t::*update)(int);
67 void setup (rxvt_term *); 67 void setup (rxvt_term *);
68 // update style dependent data
69 void update_data ();
70 void resize (); 68 void resize ();
71 int map (int); 69 int map (int);
72 int show (int); 70 int show (int);
73 void destroy (); 71 void destroy ();
74 72
127 125
128#if defined(PLAIN_SCROLLBAR) 126#if defined(PLAIN_SCROLLBAR)
129 GC pscrollbarGC; 127 GC pscrollbarGC;
130#endif 128#endif
131 129
130private:
131 // update style dependent data
132 void update_data ();
133
132 // scrollbar-next.C 134 // scrollbar-next.C
133 int show_next (int); 135 int show_next (int);
134 // scrollbar-rxvt.C 136 // scrollbar-rxvt.C
135 int show_rxvt (int); 137 int show_rxvt (int);
136 // scrollbar-xterm.C 138 // scrollbar-xterm.C
137 int show_xterm (int); 139 int show_xterm (int);
138 // scrollbar-plain.C 140 // scrollbar-plain.C
139 int show_plain (int); 141 int show_plain (int);
140 142
141private:
142 void init_next (); 143 void init_next ();
143}; 144};
144 145
145#define scrollbar_above_slider(y) ((y) < scrollBar.top) 146#define scrollbar_above_slider(y) ((y) < scrollBar.top)
146#define scrollbar_below_slider(y) ((y) > scrollBar.bot) 147#define scrollbar_below_slider(y) ((y) > scrollBar.bot)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines