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.13 by ayin, Tue Jan 29 13:57:23 2008 UTC vs.
Revision 1.14 by ayin, Tue Jan 29 14:45:55 2008 UTC

16 STATE_UP, 16 STATE_UP,
17 STATE_DOWN, 17 STATE_DOWN,
18}; 18};
19 19
20struct scrollBar_t { 20struct scrollBar_t {
21 rxvt_term *term;
21 char state; /* scrollbar state */ 22 char state; /* scrollbar state */
22 char init; /* scrollbar has been initialised */ 23 char init; /* scrollbar has been initialised */
23 unsigned int beg; /* slider sub-window begin height */ 24 unsigned int beg; /* slider sub-window begin height */
24 unsigned int end; /* slider sub-window end height */ 25 unsigned int end; /* slider sub-window end height */
25 unsigned int top; /* slider top position */ 26 unsigned int top; /* slider top position */
33 int len; 34 int len;
34 unsigned char align; 35 unsigned char align;
35 Window win; 36 Window win;
36 Cursor leftptr_cursor; 37 Cursor leftptr_cursor;
37 int (rxvt_term::*update)(int, int, int, int); 38 int (rxvt_term::*update)(int, int, int, int);
39 void setup (rxvt_term *);
38 40
39 bool upButton (int y) 41 bool upButton (int y)
40 { 42 {
41 if (style == R_SB_NEXT) 43 if (style == R_SB_NEXT)
42 return y > end && y <= end + width + 1; 44 return y > end && y <= end + width + 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines