Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl/glgui_container.h @ 10715

Last change on this file since 10715 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 993 bytes
RevLine 
[4838]1/*!
[5364]2 * @file glgui_container.h
3 * The gl_container widget of th openglGUI
[5360]4 *
5 */
[1853]6
[5364]7#ifndef _GLGUI_CONTAINER_H
8#define _GLGUI_CONTAINER_H
[1853]9
[5364]10#include "glgui_widget.h"
[1853]11
[7779]12namespace OrxGui
13{
14  // FORWARD DECLARATION
[3543]15
[7779]16  //! This is part of the openglGUI class
17  /**
18   *
19   */
20  class GLGuiContainer : public GLGuiWidget
21  {
[9869]22    ObjectListDeclaration(GLGuiContainer);
[7779]23  public:
24    GLGuiContainer();
25    virtual ~GLGuiContainer();
[2036]26
[8035]27    /** @brief packs a widget into this one. */
[7779]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;
[8035]31    /** @brief clears all Widgets out. */
32    virtual void clear() = 0;
33
[7779]34    virtual void hideAll() = 0;
35    virtual void showAll() = 0;
[5391]36
[5393]37
[7779]38    virtual void draw();
[1853]39
[9656]40  protected:
41    virtual void removeChildWidget(GLGuiWidget* widget);
42
[7779]43  private:
[8035]44    void init();
[7779]45  };
46}
[5360]47#endif /* _GLGUI__H */
Note: See TracBrowser for help on using the repository browser.