Revision 773,
770 bytes
checked in by gumbau, 19 years ago
(diff) |
FLTK imported to SVN repository to be linked agains the GeoTool? application
|
Line | |
---|
1 | #ifndef Fl_Input_H |
---|
2 | #define Fl_Input_H |
---|
3 | |
---|
4 | #include "Fl_Widget.H" |
---|
5 | #include <fltk/Input.h> |
---|
6 | class Fl_Input : public fltk::Input { |
---|
7 | public: |
---|
8 | Fl_Input(int x, int y, int w, int h, const char* l=0) : fltk::Input(x,y,w,h,l) {} |
---|
9 | int wrap() const { return type() == fltk::Input::WORDWRAP; } |
---|
10 | void wrap(int b) { type(b ? fltk::Input::WORDWRAP : fltk::Input::MULTILINE);} |
---|
11 | }; |
---|
12 | |
---|
13 | enum { |
---|
14 | FL_NORMAL_INPUT = fltk::Input::NORMAL, |
---|
15 | FL_FLOAT_INPUT = 1, // probably needs the IntInput subclass! |
---|
16 | FL_INT_INPUT = 2, |
---|
17 | //FL_HIDDEN_INPUT // not in fltk2.0 |
---|
18 | FL_MULTILINE_INPUT = fltk::Input::MULTILINE, |
---|
19 | FL_SECRET_INPUT = fltk::Input::SECRET, |
---|
20 | //FL_INPUT_TYPE = 7, |
---|
21 | //FL_INPUT_READONLY = 8, |
---|
22 | FL_INPUT_WRAP = fltk::Input::WORDWRAP, |
---|
23 | FL_MULTILINE_INPUT_WRAP = fltk::Input::WORDWRAP |
---|
24 | }; |
---|
25 | |
---|
26 | #endif |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.