aboutsummaryrefslogtreecommitdiffstats
path: root/medley_new/src/screens/UScreenSong.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 15:40:13 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-10-17 15:40:13 +0000
commit3011f6be392e0bc1bbf0c1f649ccc3d774ae68fb (patch)
treee0e4074c2c53ae09cf40a98956b7fd2d936c53c6 /medley_new/src/screens/UScreenSong.pas
parent852591f18f47f41749bcf9b4b1fd423a66363a8b (diff)
downloadusdx-3011f6be392e0bc1bbf0c1f649ccc3d774ae68fb.tar.gz
usdx-3011f6be392e0bc1bbf0c1f649ccc3d774ae68fb.tar.xz
usdx-3011f6be392e0bc1bbf0c1f649ccc3d774ae68fb.zip
- added medley icons to dx-theme
- set CalcMedley default = true git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2674 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--medley_new/src/screens/UScreenSong.pas12
1 files changed, 12 insertions, 0 deletions
diff --git a/medley_new/src/screens/UScreenSong.pas b/medley_new/src/screens/UScreenSong.pas
index 716cfb0c..1de16f94 100644
--- a/medley_new/src/screens/UScreenSong.pas
+++ b/medley_new/src/screens/UScreenSong.pas
@@ -78,6 +78,10 @@ type
//Video Icon Mod
VideoIcon: cardinal;
+ //Medley Icons
+ MedleyIcon: cardinal;
+ CalcMedleyIcon: cardinal;
+
TextCat: integer;
StaticCat: integer;
@@ -866,6 +870,10 @@ begin
//Show Video Icon Mod
VideoIcon := AddStatic(Theme.Song.VideoIcon);
+ //Meldey Icons
+ MedleyIcon := AddStatic(Theme.Song.MedleyIcon);
+ CalcMedleyIcon := AddStatic(Theme.Song.CalculatedMedleyIcon);
+
//Party Mode
StaticTeam1Joker1 := AddStatic(Theme.Song.StaticTeam1Joker1);
StaticTeam1Joker2 := AddStatic(Theme.Song.StaticTeam1Joker2);
@@ -1027,6 +1035,10 @@ begin
// Set visibility of video icon
Statics[VideoIcon].Visible := CatSongs.Song[Interaction].Video.IsSet;
+ // Set visibility of medley icons
+ Statics[MedleyIcon].Visible := (CatSongs.Song[Interaction].Medley.Source = msTag);
+ Statics[CalcMedleyIcon].Visible := (CatSongs.Song[Interaction].Medley.Source = msCalculated);
+
// Set texts
Text[TextArtist].Text := CatSongs.Song[Interaction].Artist;
Text[TextTitle].Text := CatSongs.Song[Interaction].Title;