diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-12-26 23:04:10 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-12-26 23:04:10 +0000 |
| commit | 230dbce86db7f39ae2a98f730205e0472403e694 (patch) | |
| tree | f5b36867750c6411972053db46165b2724bfc1cd /FL | |
| parent | 376ad500f52fc4779ec142b8ed7d5e37ae95243e (diff) | |
STR #2013: Added missing 'step' getter for Fl_Counter
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Counter.H | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FL/Fl_Counter.H b/FL/Fl_Counter.H index 2b47d0780..4ea22a567 100644 --- a/FL/Fl_Counter.H +++ b/FL/Fl_Counter.H @@ -88,12 +88,18 @@ public: \param[in] a, b normal and large step increments. */ void step(double a,double b) {Fl_Valuator::step(a); lstep_ = b;} + /** Sets the increment for the normal step buttons. \param[in] a normal step increment. */ void step(double a) {Fl_Valuator::step(a);} + /** + Returns the increment for normal step buttons. + */ + double step() {return Fl_Valuator::step();} + /** Gets the text font */ Fl_Font textfont() const {return textfont_;} /** Sets the text font to \a s */ |
