Changeset 7470 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_element.h
- Timestamp:
- May 2, 2006, 8:21:00 AM (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_element.h
r7469 r7470 1 /*! 1 /*! 2 2 * @file gui_element.h 3 3 * Definition of ... 4 4 5 5 */ … … 9 9 10 10 class Widget; 11 namespace OrxGui 12 { 13 //! A SuperClass for all the Different GuiElements 14 class GuiElement 15 { 11 16 12 //! A SuperClass for all the Different GuiElements 13 class GuiElement { 17 public: 18 GuiElement(); 19 virtual ~GuiElement(); 14 20 15 public: 16 GuiElement(); 17 virtual ~GuiElement(); 18 19 /** @returns the main Widget of this GuiElement. */ 20 Widget* getWidget() {return this->mainWidget;} 21 protected: 22 void setMainWidget(Widget* widget); 23 24 private: 25 Widget* mainWidget; 26 }; 21 /** @returns the main Widget of this GuiElement. */ 22 Widget* getWidget() { return this->mainWidget; } 23 protected: 24 void setMainWidget(Widget* widget); 27 25 26 private: 27 Widget* mainWidget; 28 }; 29 } 28 30 #endif /* _GUI_ELEMENT_H */
Note: See TracChangeset
for help on using the changeset viewer.