diff options
Diffstat (limited to 'src/c_fl_scroll.cpp')
-rw-r--r-- | src/c_fl_scroll.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/c_fl_scroll.cpp b/src/c_fl_scroll.cpp index ab63827..b3d2c14 100644 --- a/src/c_fl_scroll.cpp +++ b/src/c_fl_scroll.cpp @@ -56,8 +56,12 @@ void free_fl_scroll(SCROLL s) { -void fl_scroll_clear(SCROLL s) { - reinterpret_cast<Fl_Scroll*>(s)->clear(); +void * fl_scroll_hscrollbar(SCROLL s) { + return &static_cast<Fl_Scroll*>(s)->hscrollbar; +} + +void * fl_scroll_scrollbar(SCROLL s) { + return &static_cast<Fl_Scroll*>(s)->scrollbar; } |