Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/cr/src/lib/gui/gtk_gui/gui_element.h @ 7946

Last change on this file since 7946 was 7661, checked in by bensch, 19 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
Line 
1/*!
2 * @file gui_element.h
3 *  Definition of ...
4
5*/
6
7#ifndef _GUI_ELEMENT_H
8#define _GUI_ELEMENT_H
9
10class Widget;
11
12//! A SuperClass for all the Different GuiElements
13class GuiElement {
14
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};
27
28#endif /* _GUI_ELEMENT_H */
Note: See TracBrowser for help on using the repository browser.