diff options
Diffstat (limited to 'src/c_fl_spinner.h')
-rw-r--r-- | src/c_fl_spinner.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/src/c_fl_spinner.h b/src/c_fl_spinner.h index 3fce53c..2c5e97d 100644 --- a/src/c_fl_spinner.h +++ b/src/c_fl_spinner.h @@ -8,27 +8,13 @@ #define FL_SPINNER_GUARD - - typedef void* SPINNER; - - -extern "C" void spinner_set_draw_hook(SPINNER n, void * d); -extern "C" void fl_spinner_draw(SPINNER n); -extern "C" void spinner_set_handle_hook(SPINNER n, void * h); -extern "C" int fl_spinner_handle(SPINNER n, int e); - - - - extern "C" SPINNER new_fl_spinner(int x, int y, int w, int h, char* label); extern "C" void free_fl_spinner(SPINNER n); - - extern "C" unsigned int fl_spinner_get_color(SPINNER n); extern "C" void fl_spinner_set_color(SPINNER n, unsigned int t); extern "C" unsigned int fl_spinner_get_selection_color(SPINNER n); @@ -54,5 +40,13 @@ extern "C" double fl_spinner_get_value(SPINNER n); extern "C" void fl_spinner_set_value(SPINNER n, double t); +extern "C" void fl_spinner_resize(SPINNER n, int x, int y, int w, int h); + + +extern "C" void fl_spinner_draw(SPINNER n); +extern "C" int fl_spinner_handle(SPINNER n, int e); + + #endif + |