ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/scrollbar.C
Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Thu May 22 18:54:33 2014 UTC (9 years, 11 months ago) by root
Branch: MAIN
CVS Tags: HEAD, rxvt-unicode-rel-9_21, rxvt-unicode-rel-9_22, rxvt-unicode-rel-9_25, rxvt-unicode-rel-9_26, rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_30
Changes since 1.78: +1 -1 lines
Diff to previous 1.78
GPLv3

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Sun Oct 14 12:31:59 2012 UTC (11 years, 7 months ago) by sf-exg
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_16, rxvt-unicode-rel-9_17, rxvt-unicode-rel-9_18, rxvt-unicode-rel-9_19, rxvt-unicode-rel-9_20
Changes since 1.77: +2 -0 lines
Diff to previous 1.77
Fix compilation with --disable-rxvt-scroll.

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Tue Oct 2 14:47:31 2012 UTC (11 years, 7 months ago) by sf-exg
Branch: MAIN
Changes since 1.76: +1 -1 lines
Diff to previous 1.76
Fix scrollbar 'end' offset for rxvt style, patch by Mark Robinson.

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Tue Oct 2 10:29:12 2012 UTC (11 years, 7 months ago) by sf-exg
Branch: MAIN
Changes since 1.75: +10 -1 lines
Diff to previous 1.75
Fix longstanding regression in handling of the scrollbar trough color
for rxvt style, introduced in 2008-01-15 change.

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Thu Sep 1 08:16:07 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
CVS Tags: rel-9_14, rxvt-unicode-rel-9_15
Changes since 1.74: +3 -2 lines
Diff to previous 1.74
Fix computation of scrollbar slider offsets when the track size is less
than the minimum slider size.

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Thu Sep 1 08:11:27 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.73: +25 -25 lines
Diff to previous 1.73
Cosmetics, rename enum constants.

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Tue Aug 30 16:39:03 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72
Fix style.

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Sun Aug 28 19:04:23 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.71: +5 -6 lines
Diff to previous 1.71
Avoid spurious XMapWindow and wrong XUnmapWindow calls in
scrollBar_t::map when the scrollbar window does not exist.

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Sun Aug 28 18:48:41 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.70: +1 -7 lines
Diff to previous 1.70
Remove failed attempt at avoiding unneeded resize and refresh of the
window when the scrollbar is turned on/off with the corresponding DEC
sequence.

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Fri Aug 26 08:20:43 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.69: +0 -5 lines
Diff to previous 1.69
Simplify.

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Thu Aug 25 18:01:28 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.68: +1 -2 lines
Diff to previous 1.68
Simplify using ecb_div_ru.

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Mon Aug 22 17:09:46 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.67: +4 -3 lines
Diff to previous 1.67
Use enum types for state, style and align scrollbar variables.

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Mon Aug 22 17:08:52 2011 UTC (12 years, 8 months ago) by sf-exg
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66
Change initialization of last_{bot,state} scrollbar variables.

Setting last_state to 0 is a cleaner way of forcing a refresh at the
first 'show' call.

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Thu Apr 7 12:19:41 2011 UTC (13 years, 1 month ago) by sf-exg
Branch: MAIN
CVS Tags: rel-9_11, rel-9_12
Changes since 1.65: +1 -1 lines
Diff to previous 1.65
Change type of 'parent' from array of Window to Window as all the
elements except the first are unused.

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Mar 20 19:55:16 2011 UTC (13 years, 1 month ago) by sf-exg
Branch: MAIN
Changes since 1.64: +5 -0 lines
Diff to previous 1.64
Revert change from 2010-03-30.
'shadow' must be set before 'show' is called, otherwise 'resize' uses
the wrong width.

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Mon Feb 21 07:41:04 2011 UTC (13 years, 2 months ago) by root
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
the pcg is now the schmorp

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 10:31:07 2010 UTC (14 years, 1 month ago) by sf-exg
Branch: MAIN
CVS Tags: before_dynamic_fontidx, dynamic_fontidx, rel-9_09, rel-9_10
Changes since 1.62: +0 -5 lines
Diff to previous 1.62
Move 'shadow' initialization to 'show_rxvt'.

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Tue Feb 19 17:49:16 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
CVS Tags: rel-9_05, rel-9_06, rel-9_07
Changes since 1.61: +1 -2 lines
Diff to previous 1.61
Remove 'len' member of scrollBar_t and compute it on demand.

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Tue Feb 19 13:01:33 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.60: +34 -5 lines
Diff to previous 1.60
Move scrollbar GCs and scrollbar_show_* from rxvt_term to scrollBar_t.

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Tue Feb 19 10:47:03 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.59: +46 -46 lines
Diff to previous 1.59
Make scrollbar_{resize,mapping,show} methods of scrollBar_t.

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Mon Feb 18 15:14:32 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58
Remove useless initialization.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Feb 18 11:42:23 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.57: +9 -9 lines
Diff to previous 1.57
Rename some variables.

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Mon Feb 18 11:41:39 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.56: +38 -41 lines
Diff to previous 1.56
Move update of style dependent data from resize_scrollbar to a new
method.

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Feb 18 09:58:27 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.55: +2 -3 lines
Diff to previous 1.55
Simplify.

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Mon Feb 18 09:58:05 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.54: +8 -0 lines
Diff to previous 1.54
Move the resize of the scrollbar window in scrollbar_resize.

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 12:21:45 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.53: +4 -5 lines
Diff to previous 1.53
Move variables to the scope where they are used.

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 12:11:56 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.52: +4 -4 lines
Diff to previous 1.52
Make scrollbar_{minheight,size} methods of scrollBar_t.

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 11:37:21 2008 UTC (16 years, 2 months ago) by ayin
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
Make scrollbar_TotalWidth a method of scrollBar_t.

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Wed Feb 6 10:44:45 2008 UTC (16 years, 3 months ago) by ayin
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
Fix build with rxvt style scrollbar enabled.

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Tue Jan 29 14:45:55 2008 UTC (16 years, 3 months ago) by ayin
Branch: MAIN
Changes since 1.49: +14 -8 lines
Diff to previous 1.49
Make setup_scrollbar a method of scrollBar_t.

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Tue Jan 29 13:57:23 2008 UTC (16 years, 3 months ago) by ayin
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48
Add enum for scrollbar states and remove methods/macros to set/check
it.

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Jan 27 22:48:33 2008 UTC (16 years, 3 months ago) by ayin
Branch: MAIN
CVS Tags: rel-9_02
Changes since 1.47: +0 -8 lines
Diff to previous 1.47
Always compile in plain style scrollbar.

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri Jan 4 17:57:28 2008 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
CVS Tags: rel-9_0, rel-9_01
Changes since 1.46: +3 -1 lines
Diff to previous 1.46
Move leftptr_cursor from rxvt_term to scrollBar_t.

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Wed Jan 2 08:24:39 2008 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
Fix typo.

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue Jan 1 21:14:39 2008 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
Changes since 1.44: +3 -4 lines
Diff to previous 1.44
Revert 2007-12-29 change and move scrollbar_len from rxvt_term to scrollBar_t.

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Dec 31 01:05:51 2007 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
Changes since 1.43: +8 -7 lines
Diff to previous 1.43
Move last_{bot,top,state} from rxvt_term to scrollBar_t.

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sun Dec 30 23:45:42 2007 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42
Move scrollbar_align from rxvt_xterm to scrollBar_t.

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Dec 29 14:43:44 2007 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41
Rename 'sb_shadow' scrollBar_t field to 'shadow'.

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat Dec 29 14:40:09 2007 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
Changes since 1.40: +1 -0 lines
Diff to previous 1.40
Remove scrollbar_len from rxvt_term and make it a local variable in
scrollbar_show.

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sat Dec 29 14:25:43 2007 UTC (16 years, 4 months ago) by ayin
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39
Move sb_shadow from rxvt_vars to scrollBar_t.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue May 1 21:30:01 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-8_3, rel-8_4, rel-8_5a, rel-8_6, rel-8_7, rel-8_8, rel-8_9
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
remove OPTION macro

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Mon Feb 20 22:42:01 2006 UTC (18 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-7_7, rel-7_8, rel-7_9, rel-8_0, rel-8_1, rel-8_2
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
*** empty log message ***

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Feb 20 22:40:35 2006 UTC (18 years, 2 months ago) by root
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
*** empty log message ***

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu Feb 2 18:04:46 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-7_6
Changes since 1.35: +6 -6 lines
Diff to previous 1.35
*** empty log message ***

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Jan 31 20:07:18 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34
*** empty log message ***

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Jan 25 21:09:21 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-7_3, rel-7_3a, rel-7_4, rel-7_5
Changes since 1.33: +6 -6 lines
Diff to previous 1.33
*** empty log message ***

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Jan 24 19:40:12 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Changes since 1.32: +0 -3 lines
Diff to previous 1.32
*** empty log message ***

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 15:12:48 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-7_1, rel-7_2
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
*** empty log message ***

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Jan 16 15:00:20 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
*** empty log message ***

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sun Jan 15 06:02:41 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
*** empty log message ***

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Jan 3 02:43:33 2006 UTC (18 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-6_3, rel-7_0
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
*** empty log message ***

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Dec 31 17:16:17 2005 UTC (18 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-6_2
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
*** empty log message ***

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Dec 20 19:31:00 2005 UTC (18 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-6_0, rel-6_1
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
*** empty log message ***

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Dec 18 00:59:42 2005 UTC (18 years, 4 months ago) by root
Branch: MAIN
Changes since 1.25: +10 -10 lines
Diff to previous 1.25
*** empty log message ***

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Jan 2 10:55:43 2005 UTC (19 years, 4 months ago) by root
Branch: MAIN
CVS Tags: rel-4_8, rel-4_9, rel-5_0, rel-5_1, rel-5_2, rel-5_3, rel-5_4, rel-5_5, rel-5_7, rel-5_8, rel-5_9
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
*** empty log message ***

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Aug 23 19:47:03 2004 UTC (19 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-3_8, rel-4_0, rel-4_1, rel-4_2, rel-4_3, rel-4_4, rel-4_6, rel-4_7
Changes since 1.19: +5 -3 lines
Diff to previous 1.19
*** empty log message ***

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Aug 15 22:09:24 2004 UTC (19 years, 9 months ago) by root
Branch: MAIN
CVS Tags: rel-3_7
Changes since 1.15: +8 -9 lines
Diff to previous 1.15
*** empty log message ***

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Apr 8 20:31:45 2004 UTC (20 years, 1 month ago) by pcg
Branch: MAIN
CVS Tags: rel-2_8, rel-3_0, rel-3_2, rel-3_3, rel-3_4, rel-3_5, rel-3_6
Changes since 1.14: +2 -1 lines
Diff to previous 1.14
*** empty log message ***

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Fri Feb 13 12:16:21 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
CVS Tags: rel-1_9, rel-2_0, rel-2_1_0, rel-2_2, rel-2_3, rel-2_4, rel-2_5, rel-2_7
Changes since 1.13: +24 -24 lines
Diff to previous 1.13
*** empty log message ***

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Feb 9 07:11:49 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.12: +15 -10 lines
Diff to previous 1.12
*** empty log message ***

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sun Feb 1 01:34:41 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
CVS Tags: after_astyle
Changes since 1.11: +122 -109 lines
Diff to previous 1.11
*** empty log message ***

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Jan 31 04:16:15 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
CVS Tags: before_astyle
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
*** empty log message ***

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Jan 31 04:12:10 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.9: +23 -8 lines
Diff to previous 1.9
*** empty log message ***

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sat Jan 31 02:15:02 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8
*** empty log message ***

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Jan 31 00:20:21 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.7: +38 -42 lines
Diff to previous 1.7
*** empty log message ***

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Dec 18 14:11:47 2003 UTC (20 years, 4 months ago) by pcg
Branch: MAIN
CVS Tags: rel-1-2, rel-1-3
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
*** empty log message ***

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Dec 18 13:33:03 2003 UTC (20 years, 4 months ago) by pcg
Branch: MAIN
Changes since 1.5: +34 -35 lines
Diff to previous 1.5
*** empty log message ***

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Dec 18 05:45:11 2003 UTC (20 years, 5 months ago) by pcg
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
*** empty log message ***

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Nov 25 17:11:33 2003 UTC (20 years, 5 months ago) by pcg
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
*** empty log message ***

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Nov 25 11:52:42 2003 UTC (20 years, 5 months ago) by pcg
Branch: MAIN
Changes since 1.2: +16 -16 lines
Diff to previous 1.2
*** empty log message ***

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Mon Nov 24 17:31:28 2003 UTC (20 years, 5 months ago) by pcg
Branch: MAIN
Changes since 1.1: +0 -0 lines
Diff to previous 1.1
*** empty log message ***

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Nov 24 17:28:08 2003 UTC (20 years, 5 months ago) by pcg
Branch: MAIN
*** empty log message ***

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a