Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5366 in orxonox.OLD for trunk/src/lib/gui/gl_gui/glgui_handler.cc


Ignore:
Timestamp:
Oct 12, 2005, 1:23:08 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more definitions of GLGui.
also a patch to the resource-manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl_gui/glgui_handler.cc

    r5316 r5366  
    1010
    1111   ### File Specific:
    12    main-programmer: ...
     12   main-programmer: Benjamin Grauer
    1313   co-programmer: ...
    1414*/
     
    1616//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY
    1717
    18 #include "proto_singleton.h"
     18#include "glgui_handler.h"
    1919
    2020using namespace std;
    21 
    2221
    2322/**
    2423 * standard constructor
    2524 */
    26 ProtoSingleton::ProtoSingleton ()
     25GLGuiHandler::GLGuiHandler ()
    2726{
    28    this->setClassID(CL_PROTO_ID, "ProtoSingleton");
    29    this->setName("ProtoSingleton");
     27   this->setClassID(CL_GLGUI_HANDLER, "GLGuiHandler");
     28   this->setName("GLGuiHandler");
    3029
    3130   /* If you make a new class, what is most probably the case when you write this file
     
    4645 *  the singleton reference to this class
    4746 */
    48 ProtoSingleton* ProtoSingleton::singletonRef = NULL;
     47GLGuiHandler* GLGuiHandler::singletonRef = NULL;
    4948
    5049/**
    5150   @brief standard deconstructor
    5251 */
    53 ProtoSingleton::~ProtoSingleton ()
     52GLGuiHandler::~GLGuiHandler ()
    5453{
    55   ProtoSingleton::singletonRef = NULL;
     54  GLGuiHandler::singletonRef = NULL;
    5655}
Note: See TracChangeset for help on using the changeset viewer.