From 617353265e4dc4e0280b565f2cd9e7749ce52bfd Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Tue, 17 Apr 2018 16:00:26 +1000 Subject: More polishing --- src/c_fl_round_clock.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/c_fl_round_clock.cpp') diff --git a/src/c_fl_round_clock.cpp b/src/c_fl_round_clock.cpp index 56179fc..c37fd77 100644 --- a/src/c_fl_round_clock.cpp +++ b/src/c_fl_round_clock.cpp @@ -14,6 +14,7 @@ class My_Round_Clock : public Fl_Round_Clock { friend void fl_round_clock_draw(ROUND_CLOCK c); friend void round_clock_set_handle_hook(ROUND_CLOCK c, void * h); friend int fl_round_clock_handle(ROUND_CLOCK c, int e); + friend void fl_round_clock_draw2(ROUND_CLOCK c, int x, int y, int w, int h); protected: void draw(); void real_draw(); @@ -68,3 +69,10 @@ void free_fl_round_clock(ROUND_CLOCK c) { } + + +void fl_round_clock_draw2(ROUND_CLOCK c, int x, int y, int w, int h) { + reinterpret_cast(c)->Fl_Round_Clock::draw(x,y,w,h); +} + + -- cgit