aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorStephen Kennedy2008-08-15 01:22:09 +0000
committerStephen Kennedy2008-08-15 01:22:09 +0000
commit6f09c4f10ebe16200f3bd40e21defaa733cf712e (patch)
treebf54cbb3a1b0b85427a7f0b13253670fe009c12f /gui
parentfca5a0ad340da0fd0fd86d00f2c4cedbfd7a3ab8 (diff)
downloadscummvm-rg350-6f09c4f10ebe16200f3bd40e21defaa733cf712e.tar.gz
scummvm-rg350-6f09c4f10ebe16200f3bd40e21defaa733cf712e.tar.bz2
scummvm-rg350-6f09c4f10ebe16200f3bd40e21defaa733cf712e.zip
Added close button on remap dialog
svn-id: r33888
Diffstat (limited to 'gui')
-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 48a93ca285..9d417c9c2e 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -377,9 +377,10 @@ const char *Theme::_defaultConfigINI =
"remap=(w / 4) (h / 4) (w / 2) (h / 2)\n"
"remap_spacing=10\n"
"remap_popup=remap_spacing remap_spacing (prev.w - remap_spacing * 2) (kLineHeight + 2)\n"
-"remap_popup_labelW=buttonWidth\n"
+"remap_popup_labelW=kButtonWidth\n"
"remap_col_count=2\n"
-"remap_keymap_area=remap_spacing (remap_popup.y + remap_popup.h + remap_spacing) (remap.w - remap_spacing * 2) (remap.h - self.y - remap_spacing)\n"
+"remap_keymap_area=remap_spacing (remap_popup.y + remap_popup.h + remap_spacing) (remap.w - remap_spacing * 2) (remap.h - self.y - remap_spacing * 2 - kBigButtonHeight)\n"
+"remap_close_button=((remap.w - kButtonWidth) / 2) (prev.y + prev.h + remap_spacing) kButtonWidth kBigButtonHeight\n"
"############################################\n"
"[chooser]\n"
"chooserW=(w - 2 * 8)\n"