#include <Fl_Slider.h>
Inheritance diagram for Fl_Slider:
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_Style * | default_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) |
Definition at line 28 of file Fl_Slider.h.