Changeset 3605 in orxonox.OLD for orxonox/branches/levelloader/src/glmenu
- Timestamp:
- Mar 18, 2005, 11:52:15 AM (20 years ago)
- Location:
- orxonox/branches/levelloader/src/glmenu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/glmenu/glmenu_imagescreen.cc
r3499 r3605 19 19 #include "glmenu_imagescreen.h" 20 20 21 #include "stdincl.h" 21 22 #include "material.h" 22 23 … … 27 28 GLMenuImageScreen* GLMenuImageScreen::getInstance() 28 29 { 29 if( singletonRef == NULL)30 if(!singletonRef) 30 31 singletonRef = new GLMenuImageScreen (); 31 32 return singletonRef; … … 45 46 /** 46 47 \brief standard deconstructor 47 48 48 \todo this deconstructor is not jet implemented - do it 49 49 */ … … 53 53 delete backMat; 54 54 } 55 56 55 57 56 /** … … 171 170 glDisable(GL_LIGHTING); 172 171 173 backMat->select();174 172 glBegin(GL_QUADS); 175 173 glColor3f(0.96, 0.84, 0.34); … … 210 208 glEnd(); 211 209 212 glEnable(GL_TEXTURE_2D);210 backMat->select(); 213 211 glBegin(GL_QUADS); 214 212 glTexCoord2i(0, 0); glVertex2i(offsetX, offsetY); -
orxonox/branches/levelloader/src/glmenu/glmenu_imagescreen.h
r3499 r3605 8 8 #define _GLMENU_IMAGESCREEN_H 9 9 10 #include " stdincl.h"11 class Texture; 10 #include "base_object.h" 11 12 12 class Material; 13 13 … … 18 18 19 19 public: 20 ~GLMenuImageScreen ();21 20 virtual ~GLMenuImageScreen (); 21 22 22 static GLMenuImageScreen* getInstance(); 23 23
Note: See TracChangeset
for help on using the changeset viewer.