Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_box.h @ 5391

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

orxonox/trunk: more gui-definitions

File size: 564 bytes
Line 
1/*!
2 * @file glgui_.h
3 * The gl_box widget of th openglGUI
4 *
5 */
6
7#ifndef _GLGUI_BOX_H
8#define _GLGUI_BOX_H
9
10#include "glgui_container.h"
11
12// FORWARD DECLARATION
13
14typedef enum
15{
16  GLGuiBox_H,
17  GLGuiBox_V,
18} GLGuiBoxType;
19
20//! This is BOX part of the openglGUI class
21/**
22 *
23 */
24class GLGuiBox : public GLGuiContainer {
25
26 public:
27  GLGuiBox(GLGuiBoxType type = GLGuiBox_H);
28  virtual ~GLGuiBox();
29
30  void init();
31  void setType(GLGuiBoxType type) { this->type = type; };
32
33  virtual void draw();
34
35 private:
36   GLGuiBoxType         type;
37
38};
39
40#endif /* _GLGUI__H */
Note: See TracBrowser for help on using the repository browser.