aboutsummaryrefslogtreecommitdiff
path: root/gui/theme-config.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-21 13:48:51 +0000
committerEugene Sandulenko2006-03-21 13:48:51 +0000
commit3586905f93ab27bd1274ee432ff24281f2fd14bd (patch)
tree9ae6b6404e0b5ea4fc6cd632f0d4297425f5cd11 /gui/theme-config.cpp
parent9031b27349c9ceaac6adce49e44b929cdc106529 (diff)
downloadscummvm-rg350-3586905f93ab27bd1274ee432ff24281f2fd14bd.tar.gz
scummvm-rg350-3586905f93ab27bd1274ee432ff24281f2fd14bd.tar.bz2
scummvm-rg350-3586905f93ab27bd1274ee432ff24281f2fd14bd.zip
Fix bug #1455213: "GUI: ExtraPath won't display" and turn theme version
into #define. svn-id: r21395
Diffstat (limited to 'gui/theme-config.cpp')
-rw-r--r--gui/theme-config.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp
index 4e6b8f2b7a..d55e2efecd 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -134,11 +134,12 @@ const char *Theme::_defaultConfigINI =
"\n"
"# paths tab\n"
"yoffset=vBorder\n"
+"glOff=((buttonHeight - kLineHeight) / 2 + 2)\n"
"globaloptions_savebutton=5 yoffset (buttonWidth + 5) buttonHeight\n"
-"globaloptions_savepath=(prev.x2 + 20) (vBorder + 3) (parent.w - (prev.w + 20) - 10) kLineHeight\n"
+"globaloptions_savepath=(prev.x2 + 20) (yoffset + glOff) (parent.w - (prev.w + 20) - 10) kLineHeight\n"
"yoffset=(yoffset + buttonHeight + 4)\n"
"globaloptions_extrabutton=5 yoffset (buttonWidth + 5) buttonHeight\n"
-"globaloptions_extrapath=(prev.x2 + 20) (vBorder + 3) (parent.w - (prev.w + 20) - 10) kLineHeight\n"
+"globaloptions_extrapath=(prev.x2 + 20) (yoffset + glOff) (parent.w - (prev.w + 20) - 10) kLineHeight\n"
"yoffset=(yoffset + buttonHeight + 4)\n"
"globaloptions_keysbutton=5 yoffset (buttonWidth + 5) buttonHeight\n"
"\n"