20 #ifndef ofxOuiSlider_hpp 21 #define ofxOuiSlider_hpp 41 enum class Origin { Lower, Upper, Zero };
50 Slider(
int x_ = 0,
int y_ = 0,
int width_ = 0,
int height_ = 0);
virtual ~Slider()
Destructor.
Definition: ofxOuiSlider.cpp:29
ofRectangle slider_rect_
Definition: ofxOuiSlider.hpp:77
Layout
Display Layout.
Definition: ofxOuiSlider.hpp:36
virtual void mousePressed(ofMouseEventArgs &e)
Definition: ofxOuiSlider.cpp:86
Origin origin
Origin of the slider filling.
Definition: ofxOuiSlider.hpp:70
virtual void update()
OF-like update function.
Definition: ofxOuiSlider.cpp:31
Layout layout
Display Layout.
Definition: ofxOuiSlider.hpp:65
virtual void mouseDragged(ofMouseEventArgs &e)
Definition: ofxOuiSlider.cpp:114
Number box (with mouse + keyboard interaction, C74 max style)
Definition: ofxOuiNumbox.hpp:31
Slider(int x_=0, int y_=0, int width_=0, int height_=0)
Constructor.
Definition: ofxOuiSlider.cpp:22
Definition: ofxOuiColormap.hpp:25
Slider controller.
Definition: ofxOuiSlider.hpp:31
virtual void drawLabel()
Definition: ofxOuiSlider.cpp:39
Origin
Origin of the slider filling.
Definition: ofxOuiSlider.hpp:41