diff options
Diffstat (limited to 'body/c_fl_round_button.h')
-rw-r--r-- | body/c_fl_round_button.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/body/c_fl_round_button.h b/body/c_fl_round_button.h new file mode 100644 index 0000000..cbbaf9f --- /dev/null +++ b/body/c_fl_round_button.h @@ -0,0 +1,24 @@ + + +// Programmed by Jedidiah Barber +// Released into the public domain + + +#ifndef FL_ROUND_BUTTON_GUARD +#define FL_ROUND_BUTTON_GUARD + + +typedef void* ROUNDBUTTON; + + +extern "C" ROUNDBUTTON new_fl_round_button(int x, int y, int w, int h, char* label); +extern "C" void free_fl_round_button(ROUNDBUTTON b); + + +extern "C" void fl_round_button_draw(ROUNDBUTTON b); +extern "C" int fl_round_button_handle(ROUNDBUTTON b, int e); + + +#endif + + |