Last change
on this file since 6165 was
5395,
checked in by bensch, 19 years ago
|
orxonox/trunk: first element of the GLGui is visible… there is a long way to go…
|
File size:
576 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file glgui_checkbutton.h |
---|
3 | * The gl_ widget of th openglGUI |
---|
4 | * |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _GLGUI_CHECKBUTTON_H |
---|
8 | #define _GLGUI__H |
---|
9 | |
---|
10 | #include "glgui_button.h" |
---|
11 | |
---|
12 | // FORWARD DECLARATION |
---|
13 | |
---|
14 | //! This is part of the openglGUI class |
---|
15 | /** |
---|
16 | * |
---|
17 | */ |
---|
18 | class GLGuiCheckButton : public GLGuiButton { |
---|
19 | |
---|
20 | public: |
---|
21 | GLGuiCheckButton(); |
---|
22 | virtual ~GLGuiCheckButton(); |
---|
23 | |
---|
24 | void init(); |
---|
25 | |
---|
26 | bool isActive() { return this->bActive; }; |
---|
27 | void setActivity(bool bActive); |
---|
28 | |
---|
29 | virtual void draw() const {}; |
---|
30 | virtual void update() {}; |
---|
31 | |
---|
32 | private: |
---|
33 | bool bActive; |
---|
34 | |
---|
35 | }; |
---|
36 | |
---|
37 | #endif /* _GLGUI_CHECKBUTTON_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.