diff options
author | Jed Barber <jjbarber@y7mail.com> | 2018-03-20 01:41:49 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2018-03-20 01:41:49 +1100 |
commit | 09d9f2f6fc83af3bdc76717941eb13b77b2b1613 (patch) | |
tree | 82b57130cd381b9a0b261eabdc4239c09dcc17f2 /src/c_fl_input.cpp | |
parent | c1dcb4c61e79b1ddd98c0ef84f2d36be7f7fd736 (diff) |
Moved several Widgets from the Partially list to the Done list
Diffstat (limited to 'src/c_fl_input.cpp')
-rw-r--r-- | src/c_fl_input.cpp | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/c_fl_input.cpp b/src/c_fl_input.cpp index cb0b849..7e106e2 100644 --- a/src/c_fl_input.cpp +++ b/src/c_fl_input.cpp @@ -70,7 +70,73 @@ void free_fl_input(INPUT i) { +int fl_input_copy(INPUT i) { + return reinterpret_cast<Fl_Input*>(i)->copy(1); +} + +int fl_input_cut(INPUT i) { + return reinterpret_cast<Fl_Input*>(i)->cut(); +} + +int fl_input_cut2(INPUT i, int b) { + return reinterpret_cast<Fl_Input*>(i)->cut(b); +} + +int fl_input_cut3(INPUT i, int a, int b) { + return reinterpret_cast<Fl_Input*>(i)->cut(a,b); +} + +int fl_input_copy_cuts(INPUT i) { + return reinterpret_cast<Fl_Input*>(i)->copy_cuts(); +} + + + + +int fl_input_get_readonly(INPUT i) { + return reinterpret_cast<Fl_Input*>(i)->readonly(); +} + +void fl_input_set_readonly(INPUT i, int t) { + reinterpret_cast<Fl_Input*>(i)->readonly(t); +} + + + + const char * fl_input_get_value(INPUT i) { return reinterpret_cast<Fl_Input*>(i)->value(); } +void fl_input_set_value(INPUT i, char * s, int len) { + reinterpret_cast<Fl_Input*>(i)->value(s,len); +} + + + + +unsigned int fl_input_get_textcolor(INPUT i) { + return reinterpret_cast<Fl_Input*>(i)->textcolor(); +} + +void fl_input_set_textcolor(INPUT i, unsigned int t) { + reinterpret_cast<Fl_Input*>(i)->textcolor(t); +} + +int fl_input_get_textfont(INPUT i) { + return reinterpret_cast<Fl_Input*>(i)->textfont(); +} + +void fl_input_set_textfont(INPUT i, int t) { + reinterpret_cast<Fl_Input*>(i)->textfont(t); +} + +int fl_input_get_textsize(INPUT i) { + return reinterpret_cast<Fl_Input*>(i)->textsize(); +} + +void fl_input_set_textsize(INPUT i, int t) { + reinterpret_cast<Fl_Input*>(i)->textsize(t); +} + + |