From 09daf20b81cdae78772f07c0af22a571d7cc73eb Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 29 Nov 2001 19:24:00 +0000 Subject: Documentation updates galore (up to chapter 7, still need to do chapter 8 and 9, tweek the appendices, and recapture the screenshots...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Slider.html | 52 ++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'documentation/Fl_Slider.html') diff --git a/documentation/Fl_Slider.html b/documentation/Fl_Slider.html index 80803e97e..c6f51d600 100644 --- a/documentation/Fl_Slider.html +++ b/documentation/Fl_Slider.html @@ -19,11 +19,11 @@

Description

- The Fl_Slider widget contains a sliding knob inside a box. It -if often used as a scrollbar. Moving the box all the way to the -top/left sets it to the minimum(), and to the bottom/right to + The Fl_Slider widget contains a sliding knob inside a box. It +if often used as a scrollbar. Moving the box all the way to the +top/left sets it to the minimum(), and to the bottom/right to the maximum(). The minimum() may be greater than the -maximum() to reverse the slider direction. +maximum() to reverse the slider direction.

Fl_Slider widget.

Methods

-

Fl_Slider::Fl_Slider(int x, int y, int +

Fl_Slider::Fl_Slider(int x, int y, int w, int h, const char *label = 0)

- Creates a new Fl_Slider widget using the given position, -size, and label string. The default boxtype is FL_DOWN_BOX. + Creates a new Fl_Slider widget using the given position, +size, and label string. The default boxtype is FL_DOWN_BOX.

virtual Fl_Slider::~Fl_Slider()

- Destroys the valuator. -

int Fl_Slider::scrollvalue(int + Destroys the valuator. +

int Fl_Slider::scrollvalue(int windowtop, int windowsize, int first, int totalsize)

Returns -Fl_Scrollbar::value(). +Fl_Scrollbar::value().

Fl_Boxtype Fl_Slider::slider() const
void Fl_Slider::slider(Fl_Boxtype)

- Set the type of box to draw for the moving part of the slider. The -color of the moving part (or of the notch in it for the nice sliders) -is controlled by selection_color(). The default value of zero -causes the slider to figure out what to draw from box(). + Set the type of box to draw for the moving part of the slider. The +color of the moving part (or of the notch in it for the nice sliders) +is controlled by selection_color(). The default value of zero +causes the slider to figure out what to draw from box().

float Fl_Slider::slider_size() const
void Fl_Slider::slider_size(float)

- Get or set the dimensions of the moving piece of slider. This is the -fraction of the size of the entire widget. If you set this to 1 then -the slider cannot move. The default value is .08. -

For the "fill" sliders this is the size of the area around the end -that causes a drag effect rather than causing the slider to jump to the + Get or set the dimensions of the moving piece of slider. This is the +fraction of the size of the entire widget. If you set this to 1 then +the slider cannot move. The default value is .08. +

For the "fill" sliders this is the size of the area around the end +that causes a drag effect rather than causing the slider to jump to the mouse.

uchar Fl_Widget::type() const
void Fl_Widget::type(uchar t)

- Setting this changes how the slider is drawn, which can be one of the -following: + Setting this changes how the slider is drawn, which can be one of the +following: -- cgit v1.2.3