summaryrefslogtreecommitdiff
path: root/src/c_fl_value_slider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_value_slider.h')
-rw-r--r--src/c_fl_value_slider.h33
1 files changed, 12 insertions, 21 deletions
diff --git a/src/c_fl_value_slider.h b/src/c_fl_value_slider.h
index 78e4459..b07a827 100644
--- a/src/c_fl_value_slider.h
+++ b/src/c_fl_value_slider.h
@@ -8,34 +8,25 @@
#define FL_VALUE_SLIDER_GUARD
+typedef void* VALUESLIDER;
-typedef void* VALUE_SLIDER;
+extern "C" VALUESLIDER new_fl_value_slider(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_value_slider(VALUESLIDER s);
+extern "C" unsigned int fl_value_slider_get_textcolor(VALUESLIDER s);
+extern "C" void fl_value_slider_set_textcolor(VALUESLIDER s, unsigned int t);
+extern "C" int fl_value_slider_get_textfont(VALUESLIDER s);
+extern "C" void fl_value_slider_set_textfont(VALUESLIDER s, int t);
+extern "C" int fl_value_slider_get_textsize(VALUESLIDER s);
+extern "C" void fl_value_slider_set_textsize(VALUESLIDER s, int t);
-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);
+extern "C" void fl_value_slider_draw(VALUESLIDER s);
+extern "C" int fl_value_slider_handle(VALUESLIDER s, int e);
#endif
+