Line | |
---|
1 | /*! |
---|
2 | * @file glgui_slider.h |
---|
3 | * The gl_ widget of th openglGUI |
---|
4 | * |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _GLGUI_SLIDER_H |
---|
8 | #define _GLGUI_SLIDER_H |
---|
9 | |
---|
10 | #include "glgui_widget.h" |
---|
11 | #include "glgui_defs.h" |
---|
12 | |
---|
13 | namespace OrxGui |
---|
14 | { |
---|
15 | // FORWARD DECLARATION |
---|
16 | |
---|
17 | //! This is part of the openglGUI class |
---|
18 | /** |
---|
19 | * |
---|
20 | */ |
---|
21 | class GLGuiSlider : public GLGuiWidget |
---|
22 | { |
---|
23 | |
---|
24 | public: |
---|
25 | GLGuiSlider(); |
---|
26 | virtual ~GLGuiSlider(); |
---|
27 | |
---|
28 | void init(); |
---|
29 | |
---|
30 | virtual void draw() const; |
---|
31 | |
---|
32 | private: |
---|
33 | Orientation orientation; |
---|
34 | |
---|
35 | float _maxValue; |
---|
36 | float _minValue; |
---|
37 | |
---|
38 | float _value; |
---|
39 | |
---|
40 | }; |
---|
41 | } |
---|
42 | #endif /* _GLGUI_SLIDER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.