source:
orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_checkbutton.h
@
6774
Last change on this file since 6774 was 6287, checked in by bensch, 19 years ago | |
---|---|
File size: 573 bytes |
Rev | Line | |
---|---|---|
[4838] | 1 | /*! |
[5366] | 2 | * @file glgui_checkbutton.h |
[5360] | 3 | * The gl_ widget of th openglGUI |
4 | * | |
5 | */ | |
[1853] | 6 | |
[5366] | 7 | #ifndef _GLGUI_CHECKBUTTON_H |
[5360] | 8 | #define _GLGUI__H |
[1853] | 9 | |
[5366] | 10 | #include "glgui_button.h" |
[1853] | 11 | |
[4838] | 12 | // FORWARD DECLARATION |
[3543] | 13 | |
[5360] | 14 | //! This is part of the openglGUI class |
15 | /** | |
16 | * | |
17 | */ | |
[5366] | 18 | class GLGuiCheckButton : public GLGuiButton { |
[3543] | 19 | |
[5360] | 20 | public: |
[5366] | 21 | GLGuiCheckButton(); |
22 | virtual ~GLGuiCheckButton(); | |
[2036] | 23 | |
[5360] | 24 | void init(); |
[1853] | 25 | |
[5391] | 26 | bool isActive() { return this->bActive; }; |
27 | void setActivity(bool bActive); | |
28 | ||
[6287] | 29 | virtual void draw() const; |
[5395] | 30 | virtual void update() {}; |
[1853] | 31 | |
[3245] | 32 | private: |
[5391] | 33 | bool bActive; |
[3245] | 34 | |
[1853] | 35 | }; |
36 | ||
[5366] | 37 | #endif /* _GLGUI_CHECKBUTTON_H */ |
Note: See TracBrowser
for help on using the repository browser.