CGII/framework/include/libs/fltk/compat/FL/Fl_Slider.H

25 lines
583 B
C
Raw Normal View History

2018-05-17 14:01:02 +00:00
#ifndef Fl_Slider_H
#define Fl_Slider_H
#include "Fl_Widget.H"
#define FLTK_1_SLIDER 1
#include <fltk/Slider.h>
class Fl_Slider : public fltk::Slider {
public:
Fl_Slider(int x, int y, int w, int h, const char*l = 0)
: fltk::Slider(x,y,w,h,l) {set_vertical();}
};
enum {
FL_VERT_SLIDER = fltk::Slider::LINEAR,
FL_HOR_SLIDER = fltk::Slider::HORIZONTAL,
FL_VERT_FILL_SLIDER = fltk::Slider::FILL,
FL_HOR_FILL_SLIDER = fltk::Slider::HORIZONTAL+fltk::Slider::FILL,
FL_VERT_NICE_SLIDER = fltk::Slider::LINEAR,
FL_HOR_NICE_SLIDER = fltk::Slider::HORIZONTAL
};
#endif