From 9852a3b8085fd9c4da764b671facd00d671cf384 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 30 May 2006 18:05:13 +0000 Subject: [PATCH] Fix game options in PSP theme svn-id: r22777 --- gui/themes/modern.ini | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gui/themes/modern.ini b/gui/themes/modern.ini index 90942c6606c..ce118ac9bc9 100644 --- a/gui/themes/modern.ini +++ b/gui/themes/modern.ini @@ -178,7 +178,9 @@ def_insetX=23 def_insetY=94 def_insetW=(w - buttonWidth - 17 * 2 - insetX) def_insetH=(h - 23 - insetY) +def_optionsVPad=20 def_gameOptionsLabelWidth=90 +def_gameOptionsOverrideVPad=20 def_tabPopupsLabelW=110 def_aboutXOff=8 def_aboutYOff=5 @@ -248,7 +250,7 @@ use=scummmain ### global options globaloptions=insetX insetY insetW insetH set_parent=globaloptions -vBorder=20 +vBorder=optionsVPad globaloptions_tabwidget=0 vBorder parent.w (parent.h - buttonHeight - 8 - 2 * vBorder) # graphics tab @@ -283,14 +285,14 @@ globaloptions_ok=(prev.x2 + 10) prev.y prev.w prev.h ### game options gameoptions=insetX insetY insetW insetH set_parent=gameoptions -vBorder=20 +vBorder=gameOptionsOverrideVPad gox=10 gow=(parent.w - gox - 25) gameoptions_tabwidget=0 vBorder parent.w (parent.h - buttonHeight - 8 - 2 * vBorder) # game tab -opYoffset=vBorder +opYoffset=optionsVPad gameoptions_id=gox (opYoffset + 2) gameOptionsLabelWidth kLineHeight gameoptions_id.align=kTextAlignRight gameoptions_domain=prev.x2 (prev.y - 1) (gow - prev.w) kPopUpHeight @@ -305,7 +307,7 @@ gameoptions_platform=prev.x opYoffset prev.w prev.h opYoffset=(opYoffset + kLineHeight + 8) # paths tab -opYoffset=vBorder +opYoffset=optionsVPad goOff=((buttonHeight - kLineHeight) / 2 + 2) gameoptions_gamepath=gox opYoffset buttonWidth buttonHeight gameoptions_gamepathText=(prev.x2 + 20) (opYoffset + goOff) (parent.w - self.x - 10) kLineHeight @@ -526,7 +528,11 @@ def_launcherVersionX=50 def_launcherVersionY=5 def_volumeControlsInAudio=false def_midiControlsSpacing=2 +def_gameOptionsOverrideVPad=10 + use=XxY + +# Override launcher launcher_version.align=kTextAlignCenter launcher_logo.visible=false