Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_checkbutton.h @ 6784

Last change on this file since 6784 was 6287, checked in by bensch, 19 years ago

orxonox/trunk: some gui-work

File size: 573 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 */
18class 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.