From e3b35b33f519945036ecbe101b46cf701fca37fd Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 14 Nov 2016 20:36:33 +1100 Subject: Added FLTK integer inputs --- src/fltk_binding/c_fl_int_input.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/fltk_binding/c_fl_int_input.h (limited to 'src/fltk_binding/c_fl_int_input.h') diff --git a/src/fltk_binding/c_fl_int_input.h b/src/fltk_binding/c_fl_int_input.h new file mode 100644 index 0000000..5d99c3f --- /dev/null +++ b/src/fltk_binding/c_fl_int_input.h @@ -0,0 +1,18 @@ + + +#ifndef FL_INT_INPUT_GUARD +#define FL_INT_INPUT_GUARD + + +typedef void* INT_INPUT; + + +extern "C" INT_INPUT new_fl_int_input(int x, int y, int w, int h, char* label); +extern "C" void free_fl_int_input(INT_INPUT i); + + +extern "C" const char * fl_int_input_get_value(INT_INPUT i); + + +#endif + -- cgit