mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
STR 2087: made Fl_Scrollbar::value() 'const' which braks the ABI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ public:
|
||||
position changes (even if in response to a callback from this
|
||||
scrollbar). All necessary calls to redraw() are done.
|
||||
*/
|
||||
int value() {return int(Fl_Slider::value());}
|
||||
int value() const {return int(Fl_Slider::value());}
|
||||
/** See int Fl_Scrollbar::value() */
|
||||
int value(int p, int s, int top, int total) {
|
||||
return scrollvalue(p, s, top, total);
|
||||
|
||||
Reference in New Issue
Block a user