diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-06-15 04:47:28 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-06-15 04:47:28 +0000 |
| commit | 17abd7136d8fb7f6b6a52f8158f899be9e41be5a (patch) | |
| tree | 749638e817ddbc5af6c99e8fd8891331d02033f9 /FL/Fl_Input_.H | |
| parent | aa88761194fd54f89d66ddf8fd90865d7ebae805 (diff) | |
Several widgets defined their own size() method but didn't
provide an inline method that mapped to the Fl_Widget::size()
method (STR #62)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Input_.H')
| -rw-r--r-- | FL/Fl_Input_.H | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H index 9936d1186..caf56fcab 100644 --- a/FL/Fl_Input_.H +++ b/FL/Fl_Input_.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input_.H,v 1.6.2.4.2.8 2003/01/30 21:39:23 easysw Exp $" +// "$Id: Fl_Input_.H,v 1.6.2.4.2.9 2003/06/15 04:47:28 easysw Exp $" // // Input base class header file for the Fast Light Tool Kit (FLTK). // @@ -99,6 +99,7 @@ public: const char* value() const {return value_;} char index(int i) const {return value_[i];} int size() const {return size_;} + void size(int W, int H) { Fl_Widget::size(W, H); } int maximum_size() const {return maximum_size_;} void maximum_size(int m) {maximum_size_ = m;} @@ -138,5 +139,5 @@ public: #endif // -// End of "$Id: Fl_Input_.H,v 1.6.2.4.2.8 2003/01/30 21:39:23 easysw Exp $". +// End of "$Id: Fl_Input_.H,v 1.6.2.4.2.9 2003/06/15 04:47:28 easysw Exp $". // |
