From 09f3094aef152ece5bf802983d54f1642d803e0d Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Mon, 15 Sep 2008 12:46:49 +0000 Subject: Doxygen documentation WP10 Done. Reserved WP11. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Value_Slider.H | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'FL/Fl_Value_Slider.H') 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. +

\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;} }; -- cgit v1.2.3