From a3a475cc6a88e7fbd5d55cbca3dd517c0d34b260 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 25 May 2016 01:10:29 +1000 Subject: Buttons and accessors --- c_fl_button.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'c_fl_button.h') diff --git a/c_fl_button.h b/c_fl_button.h index a83e3d8..21e18dc 100644 --- a/c_fl_button.h +++ b/c_fl_button.h @@ -10,6 +10,10 @@ typedef void* my_fl_button; extern "C" my_fl_button new_fl_button(int x, int y, int w, int h, char * label); extern "C" void free_fl_button(my_fl_button f); +extern "C" int fl_button_get_state(my_fl_button b); +extern "C" void fl_button_set_state(my_fl_button b, int s); +extern "C" void fl_button_set_only(my_fl_button b); + #endif -- cgit