diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2009-01-01 21:35:37 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2009-01-01 21:35:37 +0000 |
| commit | 3c38aa533126f2ea1c1e0b1973655e1d89bc70ee (patch) | |
| tree | 9c5022481d719a1fc57defd7030c4b1b4915db2a /FL | |
| parent | 5251b64d57b18981411a10982aac8e4f4da87d5a (diff) | |
STR 1342: Added somewhat missing Fl_Scrollbar::value(int)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Scrollbar.H | 2 |
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); } |
