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.14 by ayin, Tue Jan 29 14:45:55 2008 UTC vs.
Revision 1.15 by ayin, Sun Feb 17 11:37:21 2008 UTC

52 return y > end + width + 1; 52 return y > end + width + 1;
53 if (style == R_SB_RXVT) 53 if (style == R_SB_RXVT)
54 return y > end; 54 return y > end;
55 return false; 55 return false;
56 } 56 }
57 unsigned total_width ()
58 {
59 return width + shadow * 2;
60 }
57}; 61};
58
59#define scrollbar_TotalWidth() (scrollBar.width + scrollBar.shadow * 2)
60 62
61#define SCROLLNEXT_MINHEIGHT SB_THUMB_MIN_HEIGHT 63#define SCROLLNEXT_MINHEIGHT SB_THUMB_MIN_HEIGHT
62#define SCROLLRXVT_MINHEIGHT 10 64#define SCROLLRXVT_MINHEIGHT 10
63 65
64#define scrollbar_minheight() (scrollBar.style == R_SB_NEXT \ 66#define scrollbar_minheight() (scrollBar.style == R_SB_NEXT \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines