/* orxonox - the future of 3D-vertical-scrollers Copyright (C) 2004 orx This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ### File Specific: main-programmer: ... co-programmer: ... */ //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ #include "gui_element.h" #include "gui_gtk.h" using namespace std; /** \brief standard constructor \todo this constructor is not jet implemented - do it */ GuiElement::GuiElement () { this->mainWidget = NULL; } /** \brief standard deconstructor */ GuiElement::~GuiElement () { // delete what has to be deleted here } /** \brief Every GuiElement should set this, or it could result in a SegFault. */ void GuiElement::setMainWidget(Widget* widget) { this->mainWidget = widget; }