aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-25 18:52:04 +0100
committerJohannes Schickel2012-02-25 18:52:47 +0100
commit73df649fd62f76d4ab6134d69d19471d6506a413 (patch)
treed21ec2f99f7d10d153802679c77d728794286deb /gui/widgets
parent535a55e47a2ef433c4daa88068a6defab801942b (diff)
downloadscummvm-rg350-73df649fd62f76d4ab6134d69d19471d6506a413.tar.gz
scummvm-rg350-73df649fd62f76d4ab6134d69d19471d6506a413.tar.bz2
scummvm-rg350-73df649fd62f76d4ab6134d69d19471d6506a413.zip
GUI: Let edit text widgets use a non-bold (aka normal) font.
This change was done per request of _sev.
Diffstat (limited to 'gui/widgets')
-rw-r--r--gui/widgets/edittext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/widgets/edittext.cpp b/gui/widgets/edittext.cpp
index af8ab8aa5b..4b266e8194 100644
--- a/gui/widgets/edittext.cpp
+++ b/gui/widgets/edittext.cpp
@@ -33,6 +33,7 @@ EditTextWidget::EditTextWidget(GuiObject *boss, int x, int y, int w, int h, cons
_finishCmd = finishCmd;
setEditString(text);
+ setFontStyle(ThemeEngine::kFontStyleNormal);
}
EditTextWidget::EditTextWidget(GuiObject *boss, const String &name, const String &text, const char *tooltip, uint32 cmd, uint32 finishCmd)
@@ -42,6 +43,7 @@ EditTextWidget::EditTextWidget(GuiObject *boss, const String &name, const String
_finishCmd = finishCmd;
setEditString(text);
+ setFontStyle(ThemeEngine::kFontStyleNormal);
}
void EditTextWidget::setEditString(const String &str) {