From 3dafc66bc620994493b0da6429f580272eef3116 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 17 Mar 2018 17:42:53 +1100 Subject: Added FLTK.Widgets.Groups.Input_Choices --- src/c_fl_input_choice.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/c_fl_input_choice.h (limited to 'src/c_fl_input_choice.h') diff --git a/src/c_fl_input_choice.h b/src/c_fl_input_choice.h new file mode 100644 index 0000000..8ad700b --- /dev/null +++ b/src/c_fl_input_choice.h @@ -0,0 +1,48 @@ + + +#ifndef FL_INPUT_CHOICE_GUARD +#define FL_INPUT_CHOICE_GUARD + + + + +typedef void* INPUT_CHOICE; + + + + +extern "C" void input_choice_set_draw_hook(INPUT_CHOICE n, void * d); +extern "C" void fl_input_choice_draw(INPUT_CHOICE n); +extern "C" void input_choice_set_handle_hook(INPUT_CHOICE n, void * h); +extern "C" int fl_input_choice_handle(INPUT_CHOICE n, int e); + + + + +extern "C" INPUT_CHOICE new_fl_input_choice(int x, int y, int w, int h, char* label); +extern "C" void free_fl_input_choice(INPUT_CHOICE n); + + + + +extern "C" void * fl_input_choice_input(INPUT_CHOICE n); +extern "C" void * fl_input_choice_menubutton(INPUT_CHOICE n); + + +extern "C" int fl_input_choice_changed(INPUT_CHOICE n); +extern "C" void fl_input_choice_clear_changed(INPUT_CHOICE n); +extern "C" int fl_input_choice_get_down_box(INPUT_CHOICE n); +extern "C" void fl_input_choice_set_down_box(INPUT_CHOICE n, int t); +extern "C" unsigned int fl_input_choice_get_textcolor(INPUT_CHOICE n); +extern "C" void fl_input_choice_set_textcolor(INPUT_CHOICE n, unsigned int t); +extern "C" int fl_input_choice_get_textfont(INPUT_CHOICE n); +extern "C" void fl_input_choice_set_textfont(INPUT_CHOICE n, int t); +extern "C" int fl_input_choice_get_textsize(INPUT_CHOICE n); +extern "C" void fl_input_choice_set_textsize(INPUT_CHOICE n, int t); +extern "C" const char * fl_input_choice_get_value(INPUT_CHOICE n); +extern "C" void fl_input_choice_set_value(INPUT_CHOICE n, const char * t); +extern "C" void fl_input_choice_set_value2(INPUT_CHOICE n, int t); + + +#endif + -- cgit