summaryrefslogtreecommitdiff
path: root/src/c_fl_round_clock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_round_clock.cpp')
-rw-r--r--src/c_fl_round_clock.cpp8
1 files changed, 8 insertions, 0 deletions
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<My_Round_Clock*>(c)->Fl_Round_Clock::draw(x,y,w,h);
+}
+
+