Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/2d-recalc/src/lib/gui/gl_gui/glgui_button.h @ 5855

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

orxonox/trunk: todo-list

File size: 663 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
24class Text;
25
26//! This is part of the openglGUI class
27/**
28 *
29 */
30class GLGuiButton : public GLGuiWidget {
31
32 public:
33  GLGuiButton();
34  virtual ~GLGuiButton();
35
36  void init();
37
38  virtual void draw();
39
40 private:
41
42  char*                text;
43  GLGui_ButtonState    state;
44
45};
46
47#endif /* _GLGUI__H */
Note: See TracBrowser for help on using the repository browser.