Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Slider Class Reference

Fl_Slider. More...

#include <Fl_Slider.h>

Inheritance diagram for Fl_Slider:

Fl_Valuator Fl_Widget Fl_Hor_Fill_Slider Fl_Hor_Nice_Slider Fl_Hor_Slider Fl_Nice_Slider Fl_Scrollbar Fl_Value_Slider Fl_Hor_Value_Slider List of all members.

Public Types

enum  {
  VERTICAL = 0, HORIZONTAL = 1, TICK_ABOVE = 2, TICK_LEFT = TICK_ABOVE,
  TICK_BELOW = 4, TICK_RIGHT = TICK_BELOW, TICK_BOTH = TICK_ABOVE|TICK_BELOW, LOG = 8,
  FILL = 16
}

Public Methods

 Fl_Slider (int x, int y, int w, int h, const char *l=0)
 Creates new slider widget using the given position, size, and label string.

 Fl_Slider (const char *l=0, int layout_size=30, Fl_Align layout_al=FL_ALIGN_TOP, int label_w=100)
 Creates new slider widget using the label, size, alignment, and label_width.

bool horizontal () const
bool log () const
unsigned short slider_size () const
void slider_size (int n)
unsigned short tick_size () const
void tick_size (int n)
virtual void draw ()
virtual int handle (int)

Static Public Attributes

Fl_Named_Styledefault_style

Protected Methods

int slider_position (double value, int w)
double position_value (int x, int w)
int handle (int event, int, int, int, int)
void draw_ticks (int, int, int, int, int min_spacing)
bool draw (int, int, int, int, Fl_Flags flags, bool slot)

Detailed Description

Fl_Slider.

Definition at line 28 of file Fl_Slider.h.


The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:52 2003 for eFLTK by doxygen1.2.15