summaryrefslogtreecommitdiff
path: root/body/c_fl_input_choice.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-21 21:04:54 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-21 21:04:54 +1300
commitb4438b2fbe895694be98e6e8426103deefc51448 (patch)
tree760d86cd7c06420a91dad102cc9546aee73146fc /body/c_fl_input_choice.h
parenta4703a65b015140cd4a7a985db66264875ade734 (diff)
Split public API and private implementation files into different directories
Diffstat (limited to 'body/c_fl_input_choice.h')
-rw-r--r--body/c_fl_input_choice.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/body/c_fl_input_choice.h b/body/c_fl_input_choice.h
new file mode 100644
index 0000000..a7ee0c3
--- /dev/null
+++ b/body/c_fl_input_choice.h
@@ -0,0 +1,50 @@
+
+
+// Programmed by Jedidiah Barber
+// Released into the public domain
+
+
+#ifndef FL_INPUT_CHOICE_GUARD
+#define FL_INPUT_CHOICE_GUARD
+
+
+typedef void* INPUTCHOICE;
+
+
+extern "C" INPUTCHOICE new_fl_input_choice(int x, int y, int w, int h, char* label);
+extern "C" void free_fl_input_choice(INPUTCHOICE n);
+
+
+extern "C" void * fl_input_choice_input(INPUTCHOICE n);
+extern "C" void * fl_input_choice_menubutton(INPUTCHOICE n);
+
+
+extern "C" void fl_input_choice_clear(INPUTCHOICE n);
+
+
+extern "C" int fl_input_choice_changed(INPUTCHOICE n);
+extern "C" void fl_input_choice_clear_changed(INPUTCHOICE n);
+extern "C" void fl_input_choice_set_changed(INPUTCHOICE n);
+extern "C" int fl_input_choice_get_down_box(INPUTCHOICE n);
+extern "C" void fl_input_choice_set_down_box(INPUTCHOICE n, int t);
+extern "C" unsigned int fl_input_choice_get_textcolor(INPUTCHOICE n);
+extern "C" void fl_input_choice_set_textcolor(INPUTCHOICE n, unsigned int t);
+extern "C" int fl_input_choice_get_textfont(INPUTCHOICE n);
+extern "C" void fl_input_choice_set_textfont(INPUTCHOICE n, int t);
+extern "C" int fl_input_choice_get_textsize(INPUTCHOICE n);
+extern "C" void fl_input_choice_set_textsize(INPUTCHOICE n, int t);
+extern "C" const char * fl_input_choice_get_value(INPUTCHOICE n);
+extern "C" void fl_input_choice_set_value(INPUTCHOICE n, const char * t);
+extern "C" void fl_input_choice_set_value2(INPUTCHOICE n, int t);
+
+
+extern "C" void fl_input_choice_resize(INPUTCHOICE n, int x, int y, int w, int h);
+
+
+extern "C" void fl_input_choice_draw(INPUTCHOICE n);
+extern "C" int fl_input_choice_handle(INPUTCHOICE n, int e);
+
+
+#endif
+
+