source:
orxonox.OLD/orxonox/branches/movie_player/src/lib/gui/gui/gui_element.h
@
4217
Last change on this file since 4217 was 4217, checked in by bensch, 19 years ago | |
---|---|
File size: 473 bytes |
Rev | Line | |
---|---|---|
[3245] | 1 | /*! |
[4048] | 2 | \file gui_element.h |
[3955] | 3 | \brief Definition of ... |
[3329] | 4 | |
[3245] | 5 | */ |
[1853] | 6 | |
[4048] | 7 | #ifndef _GUI_ELEMENT_H |
8 | #define _GUI_ELEMENT_H | |
[1853] | 9 | |
[4049] | 10 | class Widget; |
[1853] | 11 | |
[4046] | 12 | //! A SuperClass for all the Different GuiElements |
[4056] | 13 | class GuiElement { |
[1853] | 14 | |
[1904] | 15 | public: |
[4056] | 16 | GuiElement(); |
17 | virtual ~GuiElement(); | |
[4024] | 18 | |
[4046] | 19 | /** \returns the main Widget of this GuiElement. */ |
[4024] | 20 | Widget* getWidget(void) {return this->mainWidget;} |
21 | protected: | |
22 | void setMainWidget(Widget* widget); | |
23 | ||
[3245] | 24 | private: |
[4024] | 25 | Widget* mainWidget; |
[1853] | 26 | }; |
27 | ||
[4048] | 28 | #endif /* _GUI_ELEMENT_H */ |
Note: See TracBrowser
for help on using the repository browser.