| 
                Last change
                  on this file since 6036 was
                  5384,
                  checked in by bensch, 20 years ago
           | 
        
        
          | 
               
orxonox/trunk: introducing the GLGuiMainWidget-class, that is the topmost of all widgets 
 
           | 
        
        | 
            File size:
            893 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /* | 
|---|
| 2 |    orxonox - the future of 3D-vertical-scrollers | 
|---|
| 3 |  | 
|---|
| 4 |    Copyright (C) 2004 orx | 
|---|
| 5 |  | 
|---|
| 6 |    This program is free software; you can redistribute it and/or modify | 
|---|
| 7 |    it under the terms of the GNU General Public License as published by | 
|---|
| 8 |    the Free Software Foundation; either version 2, or (at your option) | 
|---|
| 9 |    any later version. | 
|---|
| 10 |  | 
|---|
| 11 |    ### File Specific: | 
|---|
| 12 |    main-programmer: Benjamin Grauer | 
|---|
| 13 |    co-programmer: ... | 
|---|
| 14 | */ | 
|---|
| 15 |  | 
|---|
| 16 | #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI | 
|---|
| 17 |  | 
|---|
| 18 | #include "glgui_mainwidget.h" | 
|---|
| 19 |  | 
|---|
| 20 | using namespace std; | 
|---|
| 21 |  | 
|---|
| 22 |  | 
|---|
| 23 | /** | 
|---|
| 24 |  * standard constructor | 
|---|
| 25 |  */ | 
|---|
| 26 | GLGuiMainWidget::GLGuiMainWidget() | 
|---|
| 27 | { | 
|---|
| 28 |   this->setClassID(CL_GLGUI_MAIN_WIDGET, "GLGuiMainWidget"); | 
|---|
| 29 |   this->setName("GLGuiMainWidget"); | 
|---|
| 30 | } | 
|---|
| 31 |  | 
|---|
| 32 | /** | 
|---|
| 33 |  *  the singleton reference to this class | 
|---|
| 34 |  */ | 
|---|
| 35 | GLGuiMainWidget* GLGuiMainWidget::singletonRef = NULL; | 
|---|
| 36 |  | 
|---|
| 37 | /** | 
|---|
| 38 |  * standard deconstructor | 
|---|
| 39 |  */ | 
|---|
| 40 | GLGuiMainWidget::~GLGuiMainWidget () | 
|---|
| 41 | { | 
|---|
| 42 |   GLGuiMainWidget::singletonRef = NULL; | 
|---|
| 43 | } | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.