Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_button.h @ 5363

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

orxonox/trunk: sync

File size: 650 bytes
Line 
1/*!
2 * @file glgui_button.h
3 * The gl_BUTTON widget of th openglGUI
4 *
5 */
6
7#ifndef _GLGUI_BUTTON_H
8#define _GLGUI_BUTTON_H
9
10#include "glgui_widget.h"
11
12typedef enum
13{
14  GLGui_Button_Active,
15  GLGui_Button_Inactive,
16  GLGui_Button_Pressed,
17  GLGui_Button_Released,
18  GLGui_Button_Activating,
19  GLGui_Button_Deactivating,
20
21} GLGui_ButtonState;
22
23// FORWARD DECLARATION
24
25//! This is part of the openglGUI class
26/**
27 *
28 */
29class GLGuiButton : public GLGuiWidget {
30
31 public:
32  GLGuiButton();
33  virtual ~GLGuiButton();
34
35  void init();
36
37  virtual void draw();
38
39 private:
40  char*                text;
41  GLGui_ButtonState    state;
42
43};
44
45#endif /* _GLGUI__H */
Note: See TracBrowser for help on using the repository browser.