Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_container.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: 609 bytes
Line 
1/*!
2 * @file glgui_container.h
3 * The gl_container widget of th openglGUI
4 *
5 */
6
7#ifndef _GLGUI_CONTAINER_H
8#define _GLGUI_CONTAINER_H
9
10#include "glgui_widget.h"
11
12// FORWARD DECLARATION
13template<class T> class tList;
14
15//! This is part of the openglGUI class
16/**
17 *
18 */
19class GLGuiContainer : public GLGuiWidget {
20
21 public:
22  GLGuiContainer();
23  virtual ~GLGuiContainer();
24
25  void init();
26
27  void add(GLGuiWidget* widget);
28
29  void setBorderWidth(float borderwidth);
30
31  void hideAll();
32  void showAll();
33
34
35  virtual void draw();
36
37 private:
38  tList<GLGuiWidget>*           children;
39
40};
41
42#endif /* _GLGUI__H */
Note: See TracBrowser for help on using the repository browser.