diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-12 01:14:58 +1300 |
commit | e93b9bbc02e2791f3a35b6f077fcbb8514c28aed (patch) | |
tree | 3661530027db6809a9cbad7b2477416009e00787 /src/c_fl_round_clock.h | |
parent | 53aa8144851913994b963ed611cca8885b8f9a9e (diff) |
Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there
Diffstat (limited to 'src/c_fl_round_clock.h')
-rw-r--r-- | src/c_fl_round_clock.h | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/src/c_fl_round_clock.h b/src/c_fl_round_clock.h index 60684ad..475a5d0 100644 --- a/src/c_fl_round_clock.h +++ b/src/c_fl_round_clock.h @@ -8,29 +8,17 @@ #define FL_ROUND_CLOCK_GUARD +typedef void* ROUNDCLOCK; -typedef void* ROUND_CLOCK; +extern "C" ROUNDCLOCK new_fl_round_clock(int x, int y, int w, int h, char* label); +extern "C" void free_fl_round_clock(ROUNDCLOCK c); - - -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); - - - - -extern "C" void fl_round_clock_draw2(ROUND_CLOCK c, int x, int y, int w, int h); +extern "C" void fl_round_clock_draw(ROUNDCLOCK c); +extern "C" int fl_round_clock_handle(ROUNDCLOCK c, int e); #endif + |