Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/proxy/src/lib/gui/gl/glgui_fixedposition_box.h @ 9549

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

should link

File size: 785 bytes
Line 
1/*!
2 * @file glgui_fixedposition_box.h
3 * The gl_fixedposition_box widget of th openglGUi
4 */
5
6#ifndef _GLGUI_FIXEDPOSITION_BOX_H
7#define _GLGUI_FIXEDPOSITION_BOX_H
8
9#include "glgui_box.h"
10
11namespace OrxGui
12{
13  //! This is BOX part of the openglGUI class
14  /**
15   *
16   */
17  class GLGuiFixedpositionBox : public OrxGui::GLGuiBox
18  {
19
20    public:
21      GLGuiFixedpositionBox(OrxGui::Position position = OrxGui::Center, OrxGui::Orientation orientation = OrxGui::Vertical);
22
23      inline OrxGui::Position position() const { return this->_position; };
24      void setPosition(OrxGui::Position position);
25
26    protected:
27      virtual void resize();
28
29    private:
30      OrxGui::Position     _position;     //!< The Fixed position of the Widget.
31  };
32}
33#endif /* _GLGUI_FIXEDPOSITION_BOX_H */
Note: See TracBrowser for help on using the repository browser.