| Line |   | 
|---|
| 1 | /*!  | 
|---|
| 2 |  * @file gui_element.h | 
|---|
| 3 |   *  Definition of ... | 
|---|
| 4 |  | 
|---|
| 5 | */ | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef _GUI_ELEMENT_H | 
|---|
| 8 | #define _GUI_ELEMENT_H | 
|---|
| 9 |  | 
|---|
| 10 | class Widget; | 
|---|
| 11 |  | 
|---|
| 12 | //! A SuperClass for all the Different GuiElements | 
|---|
| 13 | class 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.