aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu/UMenu.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-06-14 13:08:54 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-06-14 13:08:54 +0000
commit5f45fd926da919d8057dfcca4101dc305bd230df (patch)
treec9256ffdedd42363296501b314f9759bfe8b7b19 /Game/Code/Menu/UMenu.pas
parent3ecabca816142dcc2b7044aa637285514a4f9b2d (diff)
downloadusdx-5f45fd926da919d8057dfcca4101dc305bd230df.tar.gz
usdx-5f45fd926da919d8057dfcca4101dc305bd230df.tar.xz
usdx-5f45fd926da919d8057dfcca4101dc305bd230df.zip
Added Text Fading to ButtonCollection
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@262 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Menu/UMenu.pas')
-rw-r--r--Game/Code/Menu/UMenu.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/Game/Code/Menu/UMenu.pas b/Game/Code/Menu/UMenu.pas
index d7c919ee..309e199a 100644
--- a/Game/Code/Menu/UMenu.pas
+++ b/Game/Code/Menu/UMenu.pas
@@ -559,6 +559,10 @@ begin
begin
Interactions[High(Interactions)].Typ := iBCollectionChild;
Button[Result].Visible := False;
+
+ for BT := 0 to BTLen-1 do
+ Button[Result].Text[BT].Alpha := 0;
+
Button[Result].Parent := ThemeButton.Parent;
if (ButtonCollection[ThemeButton.Parent-1].Fade) then
Button[Result].Texture.Alpha := 0;