diff options
Diffstat (limited to 'medley_new/src/screens')
-rw-r--r-- | medley_new/src/screens/UScreenScore.pas | 12 |
1 files changed, 12 insertions, 0 deletions
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; |