aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu/UMenuSelectSlide.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-16 18:18:37 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-16 18:18:37 +0000
commit9b29c5321e423fbe6ba29f32bdcf8f2c83828e92 (patch)
tree476a90802972f3f41d5c1e9820a5e6384ab49e93 /Game/Code/Menu/UMenuSelectSlide.pas
parentcabc484d29e9406ea55b043d2802f9a3771dfee3 (diff)
downloadusdx-9b29c5321e423fbe6ba29f32bdcf8f2c83828e92.tar.gz
usdx-9b29c5321e423fbe6ba29f32bdcf8f2c83828e92.tar.xz
usdx-9b29c5321e423fbe6ba29f32bdcf8f2c83828e92.zip
Fixed text position of SelectSlide when High is not 70
Added ability to change Z and Textsize from SelectSlide Use new abilitys to finish SongMenu Screen in Deluxe Theme git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@196 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Menu/UMenuSelectSlide.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Menu/UMenuSelectSlide.pas b/Game/Code/Menu/UMenuSelectSlide.pas
index 9885acc0..0149ea2b 100644
--- a/Game/Code/Menu/UMenuSelectSlide.pas
+++ b/Game/Code/Menu/UMenuSelectSlide.pas
@@ -315,7 +315,7 @@ begin
//TextOpt[I] := TextOpt[0];
TextOpt[I] := TText.Create;
- TextOpt[I].Size := 10;
+ TextOpt[I].Size := Text.Size;
//TextOpt[I].Align := 1;
TextOpt[I].Align := 0;
TextOpt[I].Visible := True;
@@ -328,7 +328,7 @@ begin
//Generate Positions
//TextOpt[I].X := TextureSBG.X + 20 + (TextureSBG.W / Lines) * (I + 0.5);
TextOpt[I].X := TextureSBG.X + 20 + (TextureSBG.W / Lines) * I;
- TextOpt[I].Y := TextureSBG.Y + 20;
+ TextOpt[I].Y := TextureSBG.Y + (TextureSBG.H / 2) - 1.5 * Text.Size{20};
//Better Look with 2 Options
if (Lines=2) AND (Length(TextOptT)= 2) then