summaryrefslogtreecommitdiff
path: root/src/c_fl_input_choice.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2018-04-30 01:33:49 +1000
committerJed Barber <jjbarber@y7mail.com>2018-04-30 01:33:49 +1000
commit71c1c5bb789f315239a64cb22002088ddcb353b1 (patch)
tree41904e45fdc14149093a028b72283123d2743471 /src/c_fl_input_choice.cpp
parentca9cca53a19145216cb0e00462db239e1194696d (diff)
Text_Displays finished, more things polished
Diffstat (limited to 'src/c_fl_input_choice.cpp')
-rw-r--r--src/c_fl_input_choice.cpp41
1 files changed, 26 insertions, 15 deletions
diff --git a/src/c_fl_input_choice.cpp b/src/c_fl_input_choice.cpp
index a56d836..a48a4bc 100644
--- a/src/c_fl_input_choice.cpp
+++ b/src/c_fl_input_choice.cpp
@@ -71,66 +71,77 @@ void free_fl_input_choice(INPUT_CHOICE n) {
void * fl_input_choice_input(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->input();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->input();
}
void * fl_input_choice_menubutton(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->menubutton();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->menubutton();
+}
+
+
+
+
+void fl_input_choice_clear(INPUT_CHOICE n) {
+ reinterpret_cast<Fl_Input_Choice*>(n)->clear();
}
int fl_input_choice_changed(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->changed();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->changed();
}
void fl_input_choice_clear_changed(INPUT_CHOICE n) {
- reinterpret_cast<My_Input_Choice*>(n)->clear_changed();
+ reinterpret_cast<Fl_Input_Choice*>(n)->clear_changed();
+}
+
+void fl_input_choice_set_changed(INPUT_CHOICE n) {
+ reinterpret_cast<Fl_Input_Choice*>(n)->set_changed();
}
int fl_input_choice_get_down_box(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->down_box();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->down_box();
}
void fl_input_choice_set_down_box(INPUT_CHOICE n, int t) {
- reinterpret_cast<My_Input_Choice*>(n)->down_box(static_cast<Fl_Boxtype>(t));
+ reinterpret_cast<Fl_Input_Choice*>(n)->down_box(static_cast<Fl_Boxtype>(t));
}
unsigned int fl_input_choice_get_textcolor(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->textcolor();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->textcolor();
}
void fl_input_choice_set_textcolor(INPUT_CHOICE n, unsigned int t) {
- reinterpret_cast<My_Input_Choice*>(n)->textcolor(t);
+ reinterpret_cast<Fl_Input_Choice*>(n)->textcolor(t);
}
int fl_input_choice_get_textfont(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->textfont();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->textfont();
}
void fl_input_choice_set_textfont(INPUT_CHOICE n, int t) {
- reinterpret_cast<My_Input_Choice*>(n)->textfont(t);
+ reinterpret_cast<Fl_Input_Choice*>(n)->textfont(t);
}
int fl_input_choice_get_textsize(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->textsize();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->textsize();
}
void fl_input_choice_set_textsize(INPUT_CHOICE n, int t) {
- reinterpret_cast<My_Input_Choice*>(n)->textsize(t);
+ reinterpret_cast<Fl_Input_Choice*>(n)->textsize(t);
}
const char * fl_input_choice_get_value(INPUT_CHOICE n) {
- return reinterpret_cast<My_Input_Choice*>(n)->value();
+ return reinterpret_cast<Fl_Input_Choice*>(n)->value();
}
void fl_input_choice_set_value(INPUT_CHOICE n, const char * t) {
- reinterpret_cast<My_Input_Choice*>(n)->value(t);
+ reinterpret_cast<Fl_Input_Choice*>(n)->value(t);
}
void fl_input_choice_set_value2(INPUT_CHOICE n, int t) {
- reinterpret_cast<My_Input_Choice*>(n)->value(t);
+ reinterpret_cast<Fl_Input_Choice*>(n)->value(t);
}