aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2005-11-19 12:41:23 +0000
committerAndrew Kurushin2005-11-19 12:41:23 +0000
commit6c828a1c17fc7c98bbd4e565a202fdd91d490369 (patch)
tree45cc8fee418687343945145bd11e617fb4439371 /saga/interface.cpp
parent88379e7dbe27ccb108df67e1a4387d1c094df564 (diff)
downloadscummvm-rg350-6c828a1c17fc7c98bbd4e565a202fdd91d490369.tar.gz
scummvm-rg350-6c828a1c17fc7c98bbd4e565a202fdd91d490369.tar.bz2
scummvm-rg350-6c828a1c17fc7c98bbd4e565a202fdd91d490369.zip
some Font fixes
svn-id: r19668
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r--saga/interface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp
index 047e4ca42b..afc94f299e 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -780,7 +780,7 @@ void Interface::drawOption() {
_optionPanel.calcPanelButtonRect(_optionSaveFilePanel, rect);
rect.top++;
rect2 = rect;
- fontHeight = _vm->_font->getHeight(kSmallFont);
+ fontHeight = _vm->_font->getHeight(kKnownFontSmall);
for (j = 0; j < _vm->getDisplayInfo().optionSaveFileVisible; j++) {
bgColor = kITEColorDarkGrey0C;
fgColor = kITEColorBrightWhite;
@@ -1041,7 +1041,7 @@ void Interface::drawTextInput(Surface *ds, InterfacePanel *panel, PanelButton *p
drawButtonBox(ds, rect, kEdit, _textInput);
rect.left += 4;
rect.top += 4;
- rect.setHeight(_vm->_font->getHeight(kSmallFont));
+ rect.setHeight(_vm->_font->getHeight(kKnownFontSmall));
i = 0;
while ((ch[0] = _textInputString[i++]) != 0) {
@@ -1251,7 +1251,7 @@ void Interface::handleOptionClick(const Point& mousePoint) {
} else {
if (_optionPanel.currentButton == _optionSaveFilePanel) {
_optionPanel.calcPanelButtonRect(_optionSaveFilePanel, rect);
- _optionSaveFileTitleNumber = (mousePoint.y - rect.top) / (_vm->_font->getHeight(kSmallFont) + 1);
+ _optionSaveFileTitleNumber = (mousePoint.y - rect.top) / (_vm->_font->getHeight(kKnownFontSmall) + 1);
if (_optionSaveFileTitleNumber >= _vm->getDisplayInfo().optionSaveFileVisible) {
_optionSaveFileTitleNumber = _vm->getDisplayInfo().optionSaveFileVisible - 1;