summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Scrollbar.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Scrollbar.H b/FL/Fl_Scrollbar.H
index 454af548d..3a21ec957 100644
--- a/FL/Fl_Scrollbar.H
+++ b/FL/Fl_Scrollbar.H
@@ -73,6 +73,8 @@ public:
*/
int value() const {return int(Fl_Slider::value());}
/** See int Fl_Scrollbar::value() */
+ int value(int p) {return int(Fl_Slider::value((double)p));}
+ /** See int Fl_Scrollbar::value() */
int value(int p, int s, int top, int total) {
return scrollvalue(p, s, top, total);
}