Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gtk_gui/gui_element.h @ 7661

Last change on this file since 7661 was 7661, checked in by bensch, 18 years ago

orxonox/trunk: merged the QT_GUI back to the trunk
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/qt_gui . -r7607:HEAD

absolutely no conflicts :)

File size: 458 bytes
RevLine 
[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]10class Widget;
[1853]11
[4046]12//! A SuperClass for all the Different GuiElements
[4056]13class 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.