87dd7f0d23
git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
68 lines
1.7 KiB
HTML
68 lines
1.7 KiB
HTML
<html>
|
|
<body>
|
|
|
|
<hr break>
|
|
|
|
<h2><a name="Fl_Value_Slider">class Fl_Value_Slider</a></h2>
|
|
|
|
<hr>
|
|
|
|
<h3>Class Hierarchy</h3>
|
|
|
|
<ul><pre>
|
|
<a href="#Fl_Slider">Fl_Slider</a>
|
|
|
|
|
+----<b>Fl_Value_Slider</b>
|
|
</pre></ul>
|
|
|
|
<h3>Include Files</h3>
|
|
|
|
<ul><pre>
|
|
#include <FL/Fl_Value_Slider.H>
|
|
</pre></ul>
|
|
|
|
<h3>Description</h3>
|
|
|
|
The <tt>Fl_Value_Slider</tt> widget is a <tt>Fl_Slider</tt> widget with
|
|
a box displaying the current value.
|
|
|
|
<p><img src=value_slider.gif>
|
|
|
|
<h3>Methods</h3>
|
|
|
|
<ul>
|
|
<li><a href="#Fl_Value_Slider.Fl_Value_Slider">Fl_Value_Slider</a>
|
|
<li><a href="#Fl_Value_Slider.~Fl_Value_Slider">~Fl_Value_Slider</a>
|
|
<li><a href="#Fl_Value_Slider.textcolor">textcolor</a>
|
|
<li><a href="#Fl_Value_Slider.textfont">textfont</a>
|
|
<li><a href="#Fl_Value_Slider.textsize">textsize</a>
|
|
</ul>
|
|
|
|
<h4><a name="Fl_Value_Slider.Fl_Value_Slider">Fl_Value_Slider::Fl_Value_Slider(int x, int y, int w, int h, const char *label = 0)</a></h4>
|
|
|
|
Creates a new <tt>Fl_Value_Slider</tt> widget using the given position,
|
|
size, and label string. The default boxtype is <tt>FL_DOWN_BOX</tt>.
|
|
|
|
<h4><a name="Fl_Value_Slider.~Fl_Value_Slider">virtual Fl_Value_Slider::~Fl_Value_Slider()</a></h4>
|
|
|
|
Destroys the valuator.
|
|
|
|
<h4><a name="Fl_Value_Slider.textcolor">Fl_Color Fl_Value_Slider::textcolor() const<br>
|
|
void Fl_Value_Slider::textcolor(Fl_Color)</a></h4>
|
|
|
|
Gets or sets the color of the text in the value box.
|
|
|
|
<h4><a name="Fl_Value_Slider.textfont">Fl_Font Fl_Value_Slider::textfont() const<br>
|
|
<br>void Fl_Value_Slider::textfont(Fl_Font)</a></h4>
|
|
|
|
Gets or sets the typeface of the text in the value box.
|
|
|
|
<h4><a name="Fl_Value_Slider.textsize">uchar Fl_Value_Slider::textsize() const<br>
|
|
void Fl_Value_Slider::textsize(uchar)</a></h4>
|
|
|
|
Gets or sets the size of the text in the value box.
|
|
|
|
</body>
|
|
</html>
|
|
|