summaryrefslogtreecommitdiff
path: root/FL/Fl_Chart.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-06-15 04:47:28 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-06-15 04:47:28 +0000
commit17abd7136d8fb7f6b6a52f8158f899be9e41be5a (patch)
tree749638e817ddbc5af6c99e8fd8891331d02033f9 /FL/Fl_Chart.H
parentaa88761194fd54f89d66ddf8fd90865d7ebae805 (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_Chart.H')
-rw-r--r--FL/Fl_Chart.H5
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/Fl_Chart.H b/FL/Fl_Chart.H
index 27ae8a17a..90241554e 100644
--- a/FL/Fl_Chart.H
+++ b/FL/Fl_Chart.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Chart.H,v 1.6.2.3.2.5 2003/01/30 21:38:47 easysw Exp $"
+// "$Id: Fl_Chart.H,v 1.6.2.3.2.6 2003/06/15 04:47:27 easysw Exp $"
//
// Forms chart header file for the Fast Light Tool Kit (FLTK).
//
@@ -71,6 +71,7 @@ public:
void bounds(double *a,double *b) const {*a = min; *b = max;}
void bounds(double a,double b);
int size() const {return numb;}
+ void size(int W, int H) { Fl_Widget::size(W, H); }
int maxsize() const {return maxnumb;}
void maxsize(int);
Fl_Font textfont() const {return (Fl_Font)textfont_;}
@@ -86,5 +87,5 @@ public:
#endif
//
-// End of "$Id: Fl_Chart.H,v 1.6.2.3.2.5 2003/01/30 21:38:47 easysw Exp $".
+// End of "$Id: Fl_Chart.H,v 1.6.2.3.2.6 2003/06/15 04:47:27 easysw Exp $".
//