source:
orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_checkbutton.h
@
7896
Last change on this file since 7896 was 7779, checked in by bensch, 18 years ago | |
---|---|
File size: 628 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 | |
[7779] | 12 | namespace OrxGui |
13 | { | |
[3543] | 14 | |
[7779] | 15 | // FORWARD DECLARATION |
[3543] | 16 | |
[7779] | 17 | //! This is part of the openglGUI class |
18 | /** | |
19 | * | |
20 | */ | |
21 | class GLGuiCheckButton : public GLGuiButton | |
22 | { | |
[2036] | 23 | |
[7779] | 24 | public: |
25 | GLGuiCheckButton(); | |
26 | virtual ~GLGuiCheckButton(); | |
[1853] | 27 | |
[7779] | 28 | void init(); |
[5391] | 29 | |
[7779] | 30 | bool isActive() { return this->bActive; }; |
31 | void setActivity(bool bActive); | |
[1853] | 32 | |
[7779] | 33 | virtual void draw() const; |
34 | virtual void update() {}; | |
[3245] | 35 | |
[7779] | 36 | private: |
37 | bool bActive; | |
[1853] | 38 | |
[7779] | 39 | }; |
40 | } | |
41 | ||
[5366] | 42 | #endif /* _GLGUI_CHECKBUTTON_H */ |
Note: See TracBrowser
for help on using the repository browser.