source:
orxonox.OLD/trunk/src/lib/gui/gtk/gui_element.h
@
8150
Last change on this file since 8150 was 8145, checked in by bensch, 19 years ago | |
---|---|
File size: 458 bytes |
Rev | Line | |
---|---|---|
[7661] | 1 | /*! |
[5039] | 2 | * @file gui_element.h |
[7661] | 3 | * 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(); | |
[7661] | 18 | |
[4836] | 19 | /** @returns the main Widget of this GuiElement. */ |
[7661] | 20 | Widget* getWidget() { return this->mainWidget; } |
[4024] | 21 | protected: |
22 | void setMainWidget(Widget* widget); | |
[7661] | 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.