From 371cccdf78fa9aaf49158ea57e598abcd5ff56f0 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 14 May 2017 11:13:43 +1000 Subject: File_Input, Float_Input, Integer_Input, Multiline_Input, Output, Multiline_Output, Secret_Input, Input, Menu, Menu_Bar, Menu_Button widgets all now have a Handle method --- src/c_fl_float_input.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/c_fl_float_input.h') diff --git a/src/c_fl_float_input.h b/src/c_fl_float_input.h index ed71bac..caba3a1 100644 --- a/src/c_fl_float_input.h +++ b/src/c_fl_float_input.h @@ -7,8 +7,11 @@ typedef void* FLOAT_INPUT; -extern "C" void float_input_set_draw_hook(FLOAT_INPUT n, void * d); -extern "C" void fl_float_input_draw(FLOAT_INPUT n); +extern "C" void float_input_set_draw_hook(FLOAT_INPUT i, void * d); +extern "C" void fl_float_input_draw(FLOAT_INPUT i); +extern "C" void float_input_set_handle_hook(FLOAT_INPUT i, void * h); +extern "C" int fl_float_input_handle(FLOAT_INPUT i, int e); + extern "C" FLOAT_INPUT new_fl_float_input(int x, int y, int w, int h, char* label); extern "C" void free_fl_float_input(FLOAT_INPUT i); -- cgit