diff options
Diffstat (limited to 'src/c_fl_horizontal_slider.h')
-rw-r--r-- | src/c_fl_horizontal_slider.h | 27 |
1 files changed, 27 insertions, 0 deletions
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 + |