From de5fa364a30e187fd450bf4420019936f09fd9ab Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 1 Mar 2018 23:33:48 +1100 Subject: Added FLTK.Widgets.Clocks.Updated.Round --- src/c_fl_round_clock.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/c_fl_round_clock.h (limited to 'src/c_fl_round_clock.h') diff --git a/src/c_fl_round_clock.h b/src/c_fl_round_clock.h new file mode 100644 index 0000000..c0e6585 --- /dev/null +++ b/src/c_fl_round_clock.h @@ -0,0 +1,27 @@ + + +#ifndef FL_ROUND_CLOCK_GUARD +#define FL_ROUND_CLOCK_GUARD + + + + +typedef void* ROUND_CLOCK; + + + + +extern "C" void round_clock_set_draw_hook(ROUND_CLOCK c, void * d); +extern "C" void fl_round_clock_draw(ROUND_CLOCK c); +extern "C" void round_clock_set_handle_hook(ROUND_CLOCK c, void * h); +extern "C" int fl_round_clock_handle(ROUND_CLOCK c, int e); + + + + +extern "C" ROUND_CLOCK new_fl_round_clock(int x, int y, int w, int h, char* label); +extern "C" void free_fl_round_clock(ROUND_CLOCK c); + + +#endif + -- cgit