summaryrefslogtreecommitdiff
path: root/src/c_fl_scroll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_scroll.cpp')
-rw-r--r--src/c_fl_scroll.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/c_fl_scroll.cpp b/src/c_fl_scroll.cpp
index 59bb8c2..5fd3240 100644
--- a/src/c_fl_scroll.cpp
+++ b/src/c_fl_scroll.cpp
@@ -71,8 +71,12 @@ void fl_scroll_to(SCROLL s, int x, int y) {
static_cast<Fl_Scroll*>(s)->scroll_to(x, y);
}
-void fl_scroll_set_type(SCROLL s, int t) {
- static_cast<Fl_Scroll*>(s)->type(t);
+int fl_scroll_xposition(SCROLL s) {
+ return static_cast<Fl_Scroll*>(s)->xposition();
+}
+
+int fl_scroll_yposition(SCROLL s) {
+ return static_cast<Fl_Scroll*>(s)->yposition();
}
@@ -86,14 +90,6 @@ void fl_scroll_set_size(SCROLL s, int t) {
static_cast<Fl_Scroll*>(s)->scrollbar_size(t);
}
-int fl_scroll_xposition(SCROLL s) {
- return static_cast<Fl_Scroll*>(s)->xposition();
-}
-
-int fl_scroll_yposition(SCROLL s) {
- return static_cast<Fl_Scroll*>(s)->yposition();
-}
-