diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-20 01:41:49 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-20 01:41:49 +1100 |
commit | 09d9f2f6fc83af3bdc76717941eb13b77b2b1613 (patch) | |
tree | 82b57130cd381b9a0b261eabdc4239c09dcc17f2 /src/c_fl_slider.cpp | |
parent | c1dcb4c61e79b1ddd98c0ef84f2d36be7f7fd736 (diff) |
Moved several Widgets from the Partially list to the Done list
Diffstat (limited to 'src/c_fl_slider.cpp')
-rw-r--r-- | src/c_fl_slider.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/c_fl_slider.cpp b/src/c_fl_slider.cpp index 8fdf2da..fe30e2b 100644 --- a/src/c_fl_slider.cpp +++ b/src/c_fl_slider.cpp @@ -71,22 +71,27 @@ void free_fl_slider(SLIDER s) { void fl_slider_set_bounds(SLIDER s, double a, double b) { - reinterpret_cast<My_Slider*>(s)->bounds(a,b); + reinterpret_cast<Fl_Slider*>(s)->bounds(a,b); } int fl_slider_get_slider(SLIDER s) { - return reinterpret_cast<My_Slider*>(s)->slider(); + return reinterpret_cast<Fl_Slider*>(s)->slider(); } void fl_slider_set_slider(SLIDER s, int t) { - reinterpret_cast<My_Slider*>(s)->slider(static_cast<Fl_Boxtype>(t)); + reinterpret_cast<Fl_Slider*>(s)->slider(static_cast<Fl_Boxtype>(t)); } float fl_slider_get_slider_size(SLIDER s) { - return reinterpret_cast<My_Slider*>(s)->slider_size(); + return reinterpret_cast<Fl_Slider*>(s)->slider_size(); } void fl_slider_set_slider_size(SLIDER s, float t) { - reinterpret_cast<My_Slider*>(s)->slider_size(t); + reinterpret_cast<Fl_Slider*>(s)->slider_size(t); } +int fl_slider_scrollvalue(SLIDER s, int p, int z, int f, int t) { + return reinterpret_cast<Fl_Slider*>(s)->scrollvalue(p,z,f,t); +} + + |