Last change
on this file since 9547 was
9547,
checked in by bensch, 18 years ago
|
orxonox/proxy: linking problem, trying another tardis
|
File size:
800 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 | |
---|
11 | namespace 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 | virtual ~GLGuiFixedpositionBox(); |
---|
23 | |
---|
24 | inline OrxGui::Position position() const { return this->_position; }; |
---|
25 | void setPosition(OrxGui::Position); |
---|
26 | |
---|
27 | |
---|
28 | protected: |
---|
29 | virtual void resize(); |
---|
30 | |
---|
31 | |
---|
32 | private: |
---|
33 | OrxGui::Position _position; //!< The Fixed position of the Widget. |
---|
34 | }; |
---|
35 | } |
---|
36 | #endif /* _GLGUI_FIXEDPOSITION_BOX_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.