Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_container.h @ 6472

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

orxonox/trunk: container-packing

File size: 750 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
13
14//! This is part of the openglGUI class
15/**
16 *
17 */
18class GLGuiContainer : public GLGuiWidget {
19
20 public:
21  GLGuiContainer();
22  virtual ~GLGuiContainer();
23
24  void init();
25
26
27  void setBorderWidth(float borderwidth);
28
29
30  virtual void pack(GLGuiWidget* widget) = 0;
31  /** unpacks a Widget from this container. @param widget the GLGuiWidget to unpack, if NULL all subwidgets will be unpackt. */
32  virtual void unpack(GLGuiWidget* widget) = 0;
33  virtual void hideAll() = 0;
34  virtual void showAll() = 0;
35
36
37  virtual void draw();
38
39 private:
40
41};
42
43#endif /* _GLGUI__H */
Note: See TracBrowser for help on using the repository browser.