summaryrefslogtreecommitdiff
path: root/FL/Fl_Output.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-04-11 11:52:43 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-04-11 11:52:43 +0000
commit74824267355c4ac6f51bcec10bdf66b45b46ee0a (patch)
tree3b8a2da7dbfe19c3c23c153cf9ab76e8e1a0f54e /FL/Fl_Output.H
parentef36be385e5bedc22f5e1da11b5eca4a55d3c0b5 (diff)
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
Diffstat (limited to 'FL/Fl_Output.H')
-rw-r--r--FL/Fl_Output.H13
1 files changed, 5 insertions, 8 deletions
diff --git a/FL/Fl_Output.H b/FL/Fl_Output.H
index 3e57b5dec..25eafba90 100644
--- a/FL/Fl_Output.H
+++ b/FL/Fl_Output.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Output.H,v 1.5.2.3.2.1 2002/01/01 15:11:28 easysw Exp $"
+// "$Id: Fl_Output.H,v 1.5.2.3.2.2 2002/04/11 11:52:41 easysw Exp $"
//
// Output header file for the Fast Light Tool Kit (FLTK).
//
@@ -26,19 +26,16 @@
#ifndef Fl_Output_H
#define Fl_Output_H
-#include "Fl_Input_.H"
+#include "Fl_Input.H"
-class Fl_Output : public Fl_Input_ {
-protected:
- FL_EXPORT void draw();
+class Fl_Output : public Fl_Input {
public:
- FL_EXPORT int handle(int);
Fl_Output(int x, int y, int w, int h, const char *l = 0)
- : Fl_Input_(x, y, w, h, l) {}
+ : Fl_Input(x, y, w, h, l) {type(FL_NORMAL_OUTPUT);}
};
#endif
//
-// End of "$Id: Fl_Output.H,v 1.5.2.3.2.1 2002/01/01 15:11:28 easysw Exp $".
+// End of "$Id: Fl_Output.H,v 1.5.2.3.2.2 2002/04/11 11:52:41 easysw Exp $".
//