Last change
on this file since 4733 was
4427,
checked in by bensch, 20 years ago
|
orxonox/trunk: moved the gui to a more usefull directory
|
File size:
473 bytes
|
Line | |
---|
1 | /*! |
---|
2 | \file gui_element.h |
---|
3 | \brief Definition of ... |
---|
4 | |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _GUI_ELEMENT_H |
---|
8 | #define _GUI_ELEMENT_H |
---|
9 | |
---|
10 | class Widget; |
---|
11 | |
---|
12 | //! A SuperClass for all the Different GuiElements |
---|
13 | class GuiElement { |
---|
14 | |
---|
15 | public: |
---|
16 | GuiElement(); |
---|
17 | virtual ~GuiElement(); |
---|
18 | |
---|
19 | /** \returns the main Widget of this GuiElement. */ |
---|
20 | Widget* getWidget(void) {return this->mainWidget;} |
---|
21 | protected: |
---|
22 | void setMainWidget(Widget* widget); |
---|
23 | |
---|
24 | private: |
---|
25 | Widget* mainWidget; |
---|
26 | }; |
---|
27 | |
---|
28 | #endif /* _GUI_ELEMENT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.