From 727cd771facf506910ddbb63532b3b6af7fb1b77 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 1 May 2017 20:53:10 +1000 Subject: Draw method implemented for all Button variations (ugh) --- src/c_fl_toggle_button.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/c_fl_toggle_button.h') diff --git a/src/c_fl_toggle_button.h b/src/c_fl_toggle_button.h index ed86ed4..d69039b 100644 --- a/src/c_fl_toggle_button.h +++ b/src/c_fl_toggle_button.h @@ -7,6 +7,9 @@ typedef void* TOGGLEBUTTON; +extern "C" void toggle_button_set_draw_hook(TOGGLEBUTTON b, void * d); +extern "C" void fl_toggle_button_draw(TOGGLEBUTTON b); + extern "C" TOGGLEBUTTON new_fl_toggle_button(int x, int y, int w, int h, char* label); extern "C" void free_fl_toggle_button(TOGGLEBUTTON b); -- cgit