Changeset 8518 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Jun 16, 2006, 10:23:05 AM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r8490 r8518 405 405 this->setResolution(this->resolutionX, this->resolutionY, this->bitsPerPixel); 406 406 } 407 408 void GraphicsEngine::toggleFullscreen() 409 { 410 if (this->fullscreenFlag == SDL_FULLSCREEN) 411 this->fullscreenFlag = 0; 412 else 413 this->fullscreenFlag = SDL_FULLSCREEN; 414 this->setResolution(this->resolutionX, this->resolutionY, this->bitsPerPixel); 415 } 416 407 417 408 418 /** -
trunk/src/lib/graphics/graphics_engine.h
r8490 r8518 44 44 int setResolution(int width, int height, int bpp); 45 45 void setFullscreen(bool fullscreen = false); 46 void toggleFullscreen(); 46 47 static void setBackgroundColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha = 1.0); 47 48 -
trunk/src/lib/graphics/text_engine/text.cc
r8448 r8518 159 159 } 160 160 161 162 /** 163 * @brief clears the Text Line (empies it). 164 */ 165 void Text::clear() 166 { 167 text.clear(); 168 this->setupTextWidth(); 169 } 161 170 162 171 /** -
trunk/src/lib/graphics/text_engine/text.h
r8448 r8518 40 40 const std::string& operator<<(const std::string& appendText); 41 41 void removeCharacters(unsigned int chars); 42 void clear(); 42 43 43 44 /// SETUP
Note: See TracChangeset
for help on using the changeset viewer.