mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 06:56:24 +08:00
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
This commit is contained in:
+3
-2
@@ -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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user