1 | // |
---|
2 | // "$Id: MultiLineInput.h 2973 2003-04-20 03:17:51Z easysw $" |
---|
3 | // |
---|
4 | // Allows you to edit a *small* number of lines of text. Does not have |
---|
5 | // any scrollbars. You may want a TextEditor instead, it is designed for |
---|
6 | // large amounts of text. |
---|
7 | // |
---|
8 | // Copyright 1998-2003 by Bill Spitzak and others. |
---|
9 | // |
---|
10 | // This library is free software; you can redistribute it and/or |
---|
11 | // modify it under the terms of the GNU Library General Public |
---|
12 | // License as published by the Free Software Foundation; either |
---|
13 | // version 2 of the License, or (at your option) any later version. |
---|
14 | // |
---|
15 | // This library is distributed in the hope that it will be useful, |
---|
16 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
18 | // Library General Public License for more details. |
---|
19 | // |
---|
20 | // You should have received a copy of the GNU Library General Public |
---|
21 | // License along with this library; if not, write to the Free Software |
---|
22 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
23 | // USA. |
---|
24 | // |
---|
25 | // Please report all bugs and problems to "fltk-bugs@fltk.org". |
---|
26 | // |
---|
27 | |
---|
28 | #ifndef fltk_MultiLineInput_h |
---|
29 | #define fltk_MultiLineInput_h |
---|
30 | |
---|
31 | #include "Input.h" |
---|
32 | |
---|
33 | namespace fltk { |
---|
34 | |
---|
35 | // This class is entirely inline. If that changes, add FL_API to its declaration |
---|
36 | class MultiLineInput : public Input { |
---|
37 | public: |
---|
38 | MultiLineInput(int x,int y,int w,int h,const char *l = 0) |
---|
39 | : Input(x,y,w,h,l) {type(MULTILINE);} |
---|
40 | }; |
---|
41 | |
---|
42 | } |
---|
43 | |
---|
44 | #endif |
---|
45 | |
---|
46 | // |
---|
47 | // End of "$Id: MultiLineInput.h 2973 2003-04-20 03:17:51Z easysw $". |
---|
48 | // |
---|