Changeset 5421 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
 - Oct 22, 2005, 2:23:55 PM (20 years ago)
 - Location:
 - trunk/src/lib/graphics
 - Files:
 - 
          
- 3 edited
 
- 
          graphics_engine.cc (modified) (3 diffs)
 - 
          text_engine/font.h (modified) (1 diff)
 - 
          text_engine/text.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/src/lib/graphics/graphics_engine.cc
r5417 r5421 566 566 this->geTextCFPS->setName("curFPS"); 567 567 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); 568 this->geTextCFPS->setAbsCoor2D(5, 15);568 this->geTextCFPS->setAbsCoor2D(5, 0); 569 569 } 570 570 if (this->geTextMaxFPS == NULL) … … 573 573 this->geTextMaxFPS->setName("MaxFPS"); 574 574 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); 575 this->geTextMaxFPS->setAbsCoor2D(5, 40);575 this->geTextMaxFPS->setAbsCoor2D(5, 20); 576 576 } 577 577 if (this->geTextMinFPS == NULL) … … 580 580 this->geTextMinFPS->setName("MinFPS"); 581 581 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT); 582 this->geTextMinFPS->setAbsCoor2D(5, 65);582 this->geTextMinFPS->setAbsCoor2D(5, 40); 583 583 } 584 584 }  - 
        
trunk/src/lib/graphics/text_engine/font.h
r5369 r5421 76 76 inline GLuint getFastTextureID() const { return this->fastTextureID; }; 77 77 /** @returns the default Font */ 78 inline static Font* getDefaultFont() { return Font::defaultFont; };78 inline static Font* getDefaultFont() { if (Font::defaultFont == NULL) initDefaultFont(); return Font::defaultFont; }; 79 79 80 80 void createAsciiImage(const char* fileName);  - 
        
trunk/src/lib/graphics/text_engine/text.h
r5418 r5421 18 18 #define TEXT_DEFAULT_BLENDING 1.0f //!< the default blending of the text, (no blending at all) 19 19 20 #define TEXT_DEFAULT_ALIGNMENT TEXT_ALIGN_CENTER//!< default alignment21 #define TEXT_DEFAULT_SIZE20 //!< default size of the Text20 #define TEXT_DEFAULT_ALIGNMENT TEXT_ALIGN_LEFT //!< default alignment 21 #define TEXT_DEFAULT_SIZE 20 //!< default size of the Text 22 22 23 23  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






