From 90a9a75144ab172e1d2c45e703fe54697882898f Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 4 Mar 2018 01:14:28 +1100 Subject: Added FLTK.Widgets.Valuators.Sliders.Horizontal --- src/c_fl_horizontal_slider.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/c_fl_horizontal_slider.h (limited to 'src/c_fl_horizontal_slider.h') diff --git a/src/c_fl_horizontal_slider.h b/src/c_fl_horizontal_slider.h new file mode 100644 index 0000000..13ba6e2 --- /dev/null +++ b/src/c_fl_horizontal_slider.h @@ -0,0 +1,27 @@ + + +#ifndef FL_HORIZONTAL_SLIDER_GUARD +#define FL_HORIZONTAL_SLIDER_GUARD + + + + +typedef void* HORIZONTAL_SLIDER; + + + + +extern "C" void horizontal_slider_set_draw_hook(HORIZONTAL_SLIDER s, void * d); +extern "C" void fl_horizontal_slider_draw(HORIZONTAL_SLIDER s); +extern "C" void horizontal_slider_set_handle_hook(HORIZONTAL_SLIDER s, void * h); +extern "C" int fl_horizontal_slider_handle(HORIZONTAL_SLIDER s, int e); + + + + +extern "C" HORIZONTAL_SLIDER new_fl_horizontal_slider(int x, int y, int w, int h, char* label); +extern "C" void free_fl_horizontal_slider(HORIZONTAL_SLIDER s); + + +#endif + -- cgit