diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 23:11:47 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-03 23:11:47 +1100 |
commit | 143488ea1731fe09d7bb396190607677ebfbd6f7 (patch) | |
tree | afff990a74537ebc6f7910093d8d8481806fd9b8 /src/c_fl_slider.h | |
parent | 3405e301657315577c3243fc9744eca954faa833 (diff) |
Added almost complete FLTK.Widgets.Valuators.Sliders
Diffstat (limited to 'src/c_fl_slider.h')
-rw-r--r-- | src/c_fl_slider.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/c_fl_slider.h b/src/c_fl_slider.h new file mode 100644 index 0000000..b3955f5 --- /dev/null +++ b/src/c_fl_slider.h @@ -0,0 +1,36 @@ + + +#ifndef FL_SLIDER_GUARD +#define FL_SLIDER_GUARD + + + + +typedef void* SLIDER; + + + + +extern "C" void slider_set_draw_hook(SLIDER s, void * d); +extern "C" void fl_slider_draw(SLIDER s); +extern "C" void slider_set_handle_hook(SLIDER s, void * h); +extern "C" int fl_slider_handle(SLIDER s, int e); + + + + +extern "C" SLIDER new_fl_slider(int x, int y, int w, int h, char* label); +extern "C" void free_fl_slider(SLIDER s); + + + + +extern "C" void fl_slider_set_bounds(SLIDER s, double a, double b); +extern "C" int fl_slider_get_slider(SLIDER s); +extern "C" void fl_slider_set_slider(SLIDER s, int t); +extern "C" float fl_slider_get_slider_size(SLIDER s); +extern "C" void fl_slider_set_slider_size(SLIDER s, float t); + + +#endif + |