From 1d1f1f79c4091aaf673371ee8cca8688eab8ab70 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Fri, 16 Mar 2018 16:51:01 +1100 Subject: Added FLTK.Widgets.Valuators.Sliders.Value --- src/c_fl_value_slider.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/c_fl_value_slider.h (limited to 'src/c_fl_value_slider.h') diff --git a/src/c_fl_value_slider.h b/src/c_fl_value_slider.h new file mode 100644 index 0000000..9229fe6 --- /dev/null +++ b/src/c_fl_value_slider.h @@ -0,0 +1,37 @@ + + +#ifndef FL_VALUE_SLIDER_GUARD +#define FL_VALUE_SLIDER_GUARD + + + + +typedef void* VALUE_SLIDER; + + + + +extern "C" void value_slider_set_draw_hook(VALUE_SLIDER s, void * d); +extern "C" void fl_value_slider_draw(VALUE_SLIDER s); +extern "C" void value_slider_set_handle_hook(VALUE_SLIDER s, void * h); +extern "C" int fl_value_slider_handle(VALUE_SLIDER s, int e); + + + + +extern "C" VALUE_SLIDER new_fl_value_slider(int x, int y, int w, int h, char* label); +extern "C" void free_fl_value_slider(VALUE_SLIDER s); + + + + +extern "C" unsigned int fl_value_slider_get_textcolor(VALUE_SLIDER s); +extern "C" void fl_value_slider_set_textcolor(VALUE_SLIDER s, unsigned int t); +extern "C" int fl_value_slider_get_textfont(VALUE_SLIDER s); +extern "C" void fl_value_slider_set_textfont(VALUE_SLIDER s, int t); +extern "C" int fl_value_slider_get_textsize(VALUE_SLIDER s); +extern "C" void fl_value_slider_set_textsize(VALUE_SLIDER s, int t); + + +#endif + -- cgit