summaryrefslogtreecommitdiff
path: root/FL/Fl_Value_Slider.H
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-09-15 12:46:49 +0000
committerFabien Costantini <fabien@onepost.net>2008-09-15 12:46:49 +0000
commit09f3094aef152ece5bf802983d54f1642d803e0d (patch)
treee59f10539bf9709ed3a236e05d98605150add316 /FL/Fl_Value_Slider.H
parent730dc6367d0970f56b3bd4e0b3bd6842ffa27443 (diff)
Doxygen documentation WP10 Done. Reserved WP11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Value_Slider.H')
-rw-r--r--FL/Fl_Value_Slider.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/FL/Fl_Value_Slider.H b/FL/Fl_Value_Slider.H
index c9ea2c9fe..8290281dd 100644
--- a/FL/Fl_Value_Slider.H
+++ b/FL/Fl_Value_Slider.H
@@ -30,6 +30,11 @@
#include "Fl_Slider.H"
+/**
+ The Fl_Value_Slider widget is a Fl_Slider widget
+ with a box displaying the current value.
+ <P ALIGN=CENTER>\image html value_slider.gif
+*/
class FL_EXPORT Fl_Value_Slider : public Fl_Slider {
Fl_Font textfont_;
Fl_Fontsize textsize_;
@@ -38,11 +43,17 @@ public:
void draw();
int handle(int);
Fl_Value_Slider(int x,int y,int w,int h, const char *l = 0);
+ /** Gets the typeface of the text in the value box. */
Fl_Font textfont() const {return textfont_;}
+ /** Sets the typeface of the text in the value box. */
void textfont(Fl_Font s) {textfont_ = s;}
+ /** Gets the size of the text in the value box. */
Fl_Fontsize textsize() const {return textsize_;}
+ /** Sets the size of the text in the value box. */
void textsize(Fl_Fontsize s) {textsize_ = s;}
+ /** Gets the color of the text in the value box. */
Fl_Color textcolor() const {return (Fl_Color)textcolor_;}
+ /** Sets the color of the text in the value box. */
void textcolor(unsigned s) {textcolor_ = s;}
};