summaryrefslogtreecommitdiff
path: root/src/c_fl_input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_input.h')
-rw-r--r--src/c_fl_input.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/c_fl_input.h b/src/c_fl_input.h
index 231d84e..cb9935a 100644
--- a/src/c_fl_input.h
+++ b/src/c_fl_input.h
@@ -4,19 +4,27 @@
#define FL_INPUT_GUARD
+
+
typedef void* INPUT;
+
+
extern "C" void input_set_draw_hook(INPUT n, void * d);
extern "C" void fl_input_draw(INPUT n);
extern "C" void input_set_handle_hook(INPUT i, void * h);
extern "C" int fl_input_handle(INPUT i, int e);
+
+
extern "C" INPUT new_fl_input(int x, int y, int w, int h, char* label);
extern "C" void free_fl_input(INPUT i);
+
+
extern "C" const char * fl_input_get_value(INPUT i);