summaryrefslogtreecommitdiff
path: root/src/c_fl_float_input.h
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2017-05-09 14:11:42 +1000
committerJed Barber <jjbarber@y7mail.com>2017-05-09 14:11:42 +1000
commit2354ea851677fbd66fb2a9fb2074a6122fc04e03 (patch)
tree4b0eb41aaebe46937f5e57a7000ce28e469cb525 /src/c_fl_float_input.h
parentd3b6a05cf266af9d426e9756a1b2deafdbca35fe (diff)
Added Float_Input widgets
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
+