From a52499fa9f5e7f37c70bfb7a4145554168ec30f0 Mon Sep 17 00:00:00 2001 From: brunzelchen Date: Tue, 19 Oct 2010 15:14:17 +0000 Subject: added static navigate in scorescreen for medley mode git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2683 b956fd51-792f-4845-bead-9b4dfca2ff2c --- medley_new/src/screens/UScreenScore.pas | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'medley_new/src/screens') diff --git a/medley_new/src/screens/UScreenScore.pas b/medley_new/src/screens/UScreenScore.pas index 3b08fe86..7742aec0 100644 --- a/medley_new/src/screens/UScreenScore.pas +++ b/medley_new/src/screens/UScreenScore.pas @@ -168,6 +168,8 @@ type TextGolden_ActualValue: array[1..6] of integer; ActualRound: integer; + StaticNavigate: integer; + TextNavigate: integer; procedure RefreshTexts; procedure ResetScores; @@ -574,6 +576,9 @@ begin aPlayerScoreScreenTextures[Player].Player_Id_Box := Texture.GetTexture(Skin.GetTextureFileName('PlayerIDBox0' + IntToStr(Player)), Texture_Type_Transparent); end; + StaticNavigate := AddStatic(Theme.Score.StaticNavigate); + TextNavigate := AddText(Theme.Score.TextNavigate); + LoadSwapTextures; end; @@ -698,6 +703,13 @@ begin begin for P := 0 to PlayersPlay - 1 do Player[P] := PlaylistMedley.Stats[ActualRound].Player[P]; + + Statics[StaticNavigate].Visible := true; + Text[TextNavigate].Visible := true; + end else + begin + Statics[StaticNavigate].Visible := false; + Text[TextNavigate].Visible := false; end; MapPlayersToPosition; -- cgit v1.2.3