Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2008, 12:47:40 AM (16 years ago)
Author:
rgrieder
Message:
  • changed console font to Monofur
  • please check whether the character width is OK
  • and UPDATE YOUR MEDIA REPO
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/console/InGameConsole.cc

    r1540 r1571  
    4747
    4848#define LINES 30
    49 #define CHAR_WIDTH1 7.78 //34 // fix this please - determine the char-width dynamically
    50 #define CHAR_WIDTH2 8.28 // fix this please - determine the char-width dynamically
    51 #define CHAR_WIDTH3 7.80 //78 // fix this please - determine the char-width dynamically
     49#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
    5252
    5353namespace orxonox
     
    231231            this->consoleOverlayTextAreas_[i] = static_cast<TextAreaOverlayElement*>(this->om_->createOverlayElement("TextArea", "InGameConsoleTextArea" + Ogre::StringConverter::toString(i)));
    232232            this->consoleOverlayTextAreas_[i]->setMetricsMode(Ogre::GMM_PIXELS);
    233             this->consoleOverlayTextAreas_[i]->setFontName("Console");
     233            this->consoleOverlayTextAreas_[i]->setFontName("Monofur");
    234234            this->consoleOverlayTextAreas_[i]->setCharHeight(18);
    235235            this->consoleOverlayTextAreas_[i]->setParameter("colour_top", "0.21 0.69 0.21");
     
    485485                width += CHAR_WIDTH3;
    486486        }
    487         this->consoleOverlayCursor_->setPosition(width + 5, this->windowH_ * InGameConsole::REL_HEIGHT - 20);
     487        this->consoleOverlayCursor_->setPosition(width + 8, this->windowH_ * InGameConsole::REL_HEIGHT - 20);
    488488    }
    489489
Note: See TracChangeset for help on using the changeset viewer.