mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
Make Fl_Output a subclass of Fl_Input, and add input_type and readonly
methods/constants to support Fl_Output as a special case of Fl_Input (you can do everything but change the text in Fl_Output...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Multiline_Output.H,v 1.4.2.3.2.1 2002/01/01 15:11:28 easysw Exp $"
|
||||
// "$Id: Fl_Multiline_Output.H,v 1.4.2.3.2.2 2002/04/11 11:52:41 easysw Exp $"
|
||||
//
|
||||
// Multi line output header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -31,11 +31,11 @@
|
||||
class Fl_Multiline_Output : public Fl_Output {
|
||||
public:
|
||||
Fl_Multiline_Output(int x,int y,int w,int h,const char *l = 0)
|
||||
: Fl_Output(x,y,w,h,l) {type(FL_MULTILINE_INPUT);}
|
||||
: Fl_Output(x,y,w,h,l) {type(FL_MULTILINE_OUTPUT);}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Multiline_Output.H,v 1.4.2.3.2.1 2002/01/01 15:11:28 easysw Exp $".
|
||||
// End of "$Id: Fl_Multiline_Output.H,v 1.4.2.3.2.2 2002/04/11 11:52:41 easysw Exp $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user