Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7470 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_element.cc


Ignore:
Timestamp:
May 2, 2006, 8:21:00 AM (18 years ago)
Author:
bensch
Message:

compile again

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/gui/gui_element.cc

    r7469 r7470  
    1 /* 
     1/*
    22   orxonox - the future of 3D-vertical-scrollers
    33
     
    2020#include "gui_gtk.h"
    2121
    22 using namespace std;
     22namespace OrxGui
     23{
    2324
    2425
    25 /**
    26  *  standard constructor
    27    @todo this constructor is not jet implemented - do it
    28 */
    29 GuiElement::GuiElement ()
    30 {
    31   this->mainWidget = NULL;
    32 }
     26  /**
     27   *  standard constructor
     28     @todo this constructor is not jet implemented - do it
     29  */
     30  GuiElement::GuiElement ()
     31  {
     32    this->mainWidget = NULL;
     33  }
    3334
    3435
    35 /**
    36  *  standard deconstructor
     36  /**
     37   *  standard deconstructor
    3738
    38 */
    39 GuiElement::~GuiElement ()
    40 {
    41   // delete what has to be deleted here
     39  */
     40  GuiElement::~GuiElement ()
     41  {
     42    // delete what has to be deleted here
     43  }
     44
     45  /**
     46   *  Every GuiElement should set this, or it could result in a SegFault.
     47  */
     48  void GuiElement::setMainWidget(Widget* widget)
     49  {
     50    this->mainWidget = widget;
     51  }
    4252}
    43 
    44 /**
    45  *  Every GuiElement should set this, or it could result in a SegFault.
    46 */
    47 void GuiElement::setMainWidget(Widget* widget)
    48 {
    49   this->mainWidget = widget;
    50 }
Note: See TracChangeset for help on using the changeset viewer.