From 682c4a6fbcf94e9bb676ab82738331ddc5133efc Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 3 Mar 2018 14:47:26 +1100 Subject: Added FLTK.Widgets.Valuators.Adjusters --- src/c_fl_adjuster.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/c_fl_adjuster.h (limited to 'src/c_fl_adjuster.h') diff --git a/src/c_fl_adjuster.h b/src/c_fl_adjuster.h new file mode 100644 index 0000000..53a84eb --- /dev/null +++ b/src/c_fl_adjuster.h @@ -0,0 +1,33 @@ + + +#ifndef FL_ADJUSTER_GUARD +#define FL_ADJUSTER_GUARD + + + + +typedef void* ADJUSTER; + + + + +extern "C" void adjuster_set_draw_hook(ADJUSTER a, void * d); +extern "C" void fl_adjuster_draw(ADJUSTER a); +extern "C" void adjuster_set_handle_hook(ADJUSTER a, void * h); +extern "C" int fl_adjuster_handle(ADJUSTER a, int e); + + + + +extern "C" ADJUSTER new_fl_adjuster(int x, int y, int w, int h, char* label); +extern "C" void free_fl_adjuster(ADJUSTER a); + + + + +extern "C" int fl_adjuster_is_soft(ADJUSTER a); +extern "C" void fl_adjuster_set_soft(ADJUSTER a, int t); + + +#endif + -- cgit