Last change
on this file since 9643 was
9620,
checked in by bensch, 18 years ago
|
box is better and nicer implemented now
|
File size:
951 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 | namespace OrxGui |
---|
13 | { |
---|
14 | // FORWARD DECLARATION |
---|
15 | |
---|
16 | //! This is part of the openglGUI class |
---|
17 | /** |
---|
18 | * |
---|
19 | */ |
---|
20 | class GLGuiContainer : public GLGuiWidget |
---|
21 | { |
---|
22 | |
---|
23 | public: |
---|
24 | GLGuiContainer(); |
---|
25 | virtual ~GLGuiContainer(); |
---|
26 | |
---|
27 | /** @brief packs a widget into this one. */ |
---|
28 | virtual void pack(GLGuiWidget* widget) = 0; |
---|
29 | /** unpacks a Widget from this container. @param widget the GLGuiWidget to unpack, if NULL all subwidgets will be unpackt. */ |
---|
30 | virtual void unpack(GLGuiWidget* widget) = 0; |
---|
31 | /** @brief clears all Widgets out. */ |
---|
32 | virtual void clear() = 0; |
---|
33 | |
---|
34 | virtual void hideAll() = 0; |
---|
35 | virtual void showAll() = 0; |
---|
36 | |
---|
37 | |
---|
38 | virtual void draw(); |
---|
39 | |
---|
40 | protected: |
---|
41 | virtual void removeChildWidget(GLGuiWidget* widget); |
---|
42 | |
---|
43 | private: |
---|
44 | void init(); |
---|
45 | }; |
---|
46 | } |
---|
47 | #endif /* _GLGUI__H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.