diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-05-13 12:35:40 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-05-13 12:35:40 +1000 |
commit | 1c0ddbf9eeb33f6bedc1fb9156e124b3a7b17bbc (patch) | |
tree | d662c3fb080042625696734c194328a78f81de1b /src/c_fl_button.h | |
parent | 40d66b087fcf846c84da53c111ecbeb75bdd29ce (diff) |
Handle method added for Boxes, Buttons, Widgets
Diffstat (limited to 'src/c_fl_button.h')
-rw-r--r-- | src/c_fl_button.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/c_fl_button.h b/src/c_fl_button.h index 14faa2b..002c173 100644 --- a/src/c_fl_button.h +++ b/src/c_fl_button.h @@ -9,6 +9,8 @@ typedef void* BUTTON; extern "C" void button_set_draw_hook(BUTTON b, void * d); extern "C" void fl_button_draw(BUTTON b); +extern "C" void button_set_handle_hook(BUTTON b, void * h); +extern "C" int fl_button_handle(BUTTON b, int e); extern "C" BUTTON new_fl_button(int x, int y, int w, int h, char* label); extern "C" void free_fl_button(BUTTON b); |