From fb37523537cdb69a31dede401a604981ce8b7b9d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 17 Jun 2017 11:28:39 +1000 Subject: Updated coding style, added progress log --- src/c_fl_float_input.h | 6 ++++++ 1 file changed, 6 insertions(+) (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 caba3a1..a49d0f7 100644 --- a/src/c_fl_float_input.h +++ b/src/c_fl_float_input.h @@ -4,15 +4,21 @@ #define FL_FLOAT_INPUT_GUARD + + typedef void* FLOAT_INPUT; + + 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