summaryrefslogtreecommitdiff
path: root/FL/Fl_Counter.H
diff options
context:
space:
mode:
authorengelsman <engelsman>2008-09-21 14:40:31 +0000
committerengelsman <engelsman>2008-09-21 14:40:31 +0000
commitefd1647a251cd300092e17d5bd98b4cea17a7acd (patch)
treea16881cc6a4f4f231917f1cfe208ebd555f80cdf /FL/Fl_Counter.H
parent9ce5dd8c736f6fb9fe130256279f4541740c6817 (diff)
doxygen comments for undocumented features of Fl_Dial, Fl_Counter
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Counter.H')
-rw-r--r--FL/Fl_Counter.H25
1 files changed, 21 insertions, 4 deletions
diff --git a/FL/Fl_Counter.H b/FL/Fl_Counter.H
index 40f6a719a..36d788807 100644
--- a/FL/Fl_Counter.H
+++ b/FL/Fl_Counter.H
@@ -38,8 +38,8 @@
#endif
// values for type():
-#define FL_NORMAL_COUNTER 0
-#define FL_SIMPLE_COUNTER 1
+#define FL_NORMAL_COUNTER 0 /**< type() for counter with fast buttons */
+#define FL_SIMPLE_COUNTER 1 /**< type() for counter without fast buttons */
/**
\class Fl_Counter
@@ -77,19 +77,36 @@ public:
~Fl_Counter();
/**
- Set the increment for the double-arrow buttons.
+ Set the increment for the large step buttons.
The default value is 1.0.
- \param[in] a increment value
+ \param[in] a large step increment.
*/
void lstep(double a) {lstep_ = a;}
+ /**
+ Set the increments for the normal and large step buttons.
+ \param[in] a, b normal and large step increments.
+ */
void step(double a,double b) {Fl_Valuator::step(a); lstep_ = b;}
+ /**
+ Set the increment for the normal step buttons.
+ \param[in] a normal step increment.
+ */
void step(double a) {Fl_Valuator::step(a);}
+
+ /** Gets the text font */
Fl_Font textfont() const {return textfont_;}
+ /** Sets the text font to \a s */
void textfont(Fl_Font s) {textfont_ = s;}
+
+ /** Gets the font size */
Fl_Fontsize textsize() const {return textsize_;}
+ /** Sets the font size to \a s */
void textsize(Fl_Fontsize s) {textsize_ = s;}
+
+ /** Gets the font color */
Fl_Color textcolor() const {return (Fl_Color)textcolor_;}
+ /** Sets the font color to \p a */
void textcolor(unsigned s) {textcolor_ = s;}
};