-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathinput_choice.cxx
47 lines (34 loc) · 1.04 KB
/
input_choice.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include "input_choice.h"
#include <FL/Fl_Input_Choice.H>
#include "event_handler.h"
class GInputChoice : public EventHandler<Fl_Input_Choice> {
public:
GInputChoice(int x, int y, int w, int h, const char *label)
: EventHandler<Fl_Input_Choice>(x, y, w, h, label) {}
};
GInputChoice *go_fltk_new_Input_Choice(int x, int y, int w, int h, const char *label) {
return new GInputChoice(x, y, w, h, label);
}
void go_fltk_Input_Choice_clear(Fl_Input_Choice *c) {
c->clear();
}
const char *go_fltk_Input_Choice_value(Fl_Input_Choice *c) {
return c->value();
}
void go_fltk_Input_Choice_set_value(Fl_Input_Choice *c,
const char *label) {
c->value(label);
}
void go_fltk_Input_Choice_set_value_index(Fl_Input_Choice *c,
int index) {
c->value(index);
}
int go_fltk_Input_Choice_update_menubutton(Fl_Input_Choice* c) {
return c->update_menubutton();
}
Fl_Input *go_fltk_Input_Choice_input(Fl_Input_Choice *c) {
return c->input();
}
Fl_Menu_Button *go_fltk_Input_Choice_menubutton(Fl_Input_Choice *c) {
return c->menubutton();
}