summaryrefslogtreecommitdiff
path: root/src/c_fl_float_input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_float_input.h')
-rw-r--r--src/c_fl_float_input.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/c_fl_float_input.h b/src/c_fl_float_input.h
new file mode 100644
index 0000000..187a176
--- /dev/null
+++ b/src/c_fl_float_input.h
@@ -0,0 +1,21 @@
+
+
+#ifndef FL_FLOAT_INPUT_GUARD
+#define FL_FLOAT_INPUT_GUARD
+
+
+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" 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);
+
+
+extern "C" const char * fl_float_input_get_value(FLOAT_INPUT i);
+
+
+#endif
+