Changeset 1571 for code/trunk/src/orxonox/console/InGameConsole.cc
- Timestamp:
- Jun 9, 2008, 12:47:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/console/InGameConsole.cc
r1540 r1571 47 47 48 48 #define LINES 30 49 #define CHAR_WIDTH1 7. 78 //34 // fix this please - determine the char-width dynamically50 #define CHAR_WIDTH2 8.28 // fix this please - determine the char-width dynamically51 #define CHAR_WIDTH3 7.80 //78 // fix this please - determine the char-width dynamically49 #define CHAR_WIDTH1 7.45 //78 //34 // fix this please - determine the char-width dynamically 50 #define CHAR_WIDTH2 CHAR_WIDTH1 //28 // fix this please - determine the char-width dynamically 51 #define CHAR_WIDTH3 CHAR_WIDTH1 //80 //78 // fix this please - determine the char-width dynamically 52 52 53 53 namespace orxonox … … 231 231 this->consoleOverlayTextAreas_[i] = static_cast<TextAreaOverlayElement*>(this->om_->createOverlayElement("TextArea", "InGameConsoleTextArea" + Ogre::StringConverter::toString(i))); 232 232 this->consoleOverlayTextAreas_[i]->setMetricsMode(Ogre::GMM_PIXELS); 233 this->consoleOverlayTextAreas_[i]->setFontName(" Console");233 this->consoleOverlayTextAreas_[i]->setFontName("Monofur"); 234 234 this->consoleOverlayTextAreas_[i]->setCharHeight(18); 235 235 this->consoleOverlayTextAreas_[i]->setParameter("colour_top", "0.21 0.69 0.21"); … … 485 485 width += CHAR_WIDTH3; 486 486 } 487 this->consoleOverlayCursor_->setPosition(width + 5, this->windowH_ * InGameConsole::REL_HEIGHT - 20);487 this->consoleOverlayCursor_->setPosition(width + 8, this->windowH_ * InGameConsole::REL_HEIGHT - 20); 488 488 } 489 489
Note: See TracChangeset
for help on using the changeset viewer.