Instrumental & Vocals Icons (#833)

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icons

* Screen Version 14

* Screen Version 14

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon

* Add Instrumental & Vocals Icon
This commit is contained in:
Edi316 authored and GitHub committed 2026-01-26 14:53:59 +01:00
1 parent 4c984d9f7c
commit 12d06d8111
14 files changed
+105 -16

No files matched your search

+11 -1
View File
@@ -37,6 +37,8 @@ namespace VocaluxeLib.Menu.SongMenu
private readonly CStatic _VideoIcon;
private readonly CStatic _MedleyCalcIcon;
private readonly CStatic _MedleyTagIcon;
private readonly CStatic _InstrumentalIcon;
private readonly CStatic _VocalsIcon;
private CTextureRef _CoverBigBGTexture;
private CTextureRef _CoverBGTexture;
@@ -128,7 +130,9 @@ namespace VocaluxeLib.Menu.SongMenu
_VideoIcon = new CStatic(_Theme.SongMenuList.StaticVideoIcon, _PartyModeID);
_MedleyCalcIcon = new CStatic(_Theme.SongMenuList.StaticMedleyCalcIcon, _PartyModeID);
_MedleyTagIcon = new CStatic(_Theme.SongMenuList.StaticMedleyTagIcon, _PartyModeID);
_SubElements.AddRange(new IMenuElement[] {_Artist, _Title, _SongLength, _SongYear, _DuetIcon, _RapIcon, _VideoIcon, _MedleyCalcIcon, _MedleyTagIcon});
_InstrumentalIcon = new CStatic(_Theme.SongMenuList.StaticInstrumentalIcon, _PartyModeID);
_VocalsIcon = new CStatic(_Theme.SongMenuList.StaticVocalsIcon, _PartyModeID);
_SubElements.AddRange(new IMenuElement[] {_Artist, _Title, _SongLength, _SongYear, _DuetIcon, _RapIcon, _VideoIcon, _MedleyCalcIcon, _MedleyTagIcon, _InstrumentalIcon, _VocalsIcon});
}
private void _ReadSubTheme()
@@ -142,6 +146,8 @@ namespace VocaluxeLib.Menu.SongMenu
_Theme.SongMenuList.StaticRapIcon = (SThemeStatic)_RapIcon.GetTheme();
_Theme.SongMenuList.StaticMedleyCalcIcon = (SThemeStatic)_MedleyCalcIcon.GetTheme();
_Theme.SongMenuList.StaticMedleyTagIcon = (SThemeStatic)_MedleyTagIcon.GetTheme();
_Theme.SongMenuList.StaticInstrumentalIcon = (SThemeStatic)_InstrumentalIcon.GetTheme();
_Theme.SongMenuList.StaticVocalsIcon = (SThemeStatic)_VocalsIcon.GetTheme();
_Theme.SongMenuList.StaticTextBG = (SThemeStatic)_TextBG.GetTheme();
_Theme.SongMenuList.StaticVideoIcon = (SThemeStatic)_VideoIcon.GetTheme();
}
@@ -229,6 +235,8 @@ namespace VocaluxeLib.Menu.SongMenu
_VideoIcon.Visible = false;
_MedleyCalcIcon.Visible = false;
_MedleyTagIcon.Visible = false;
_InstrumentalIcon.Visible = false;
_VocalsIcon.Visible = false;
_Length = -1f;
//Check if nothing is selected (for preview)
@@ -259,6 +267,8 @@ namespace VocaluxeLib.Menu.SongMenu
_VideoIcon.Visible = song.VideoFileName != "";
_MedleyCalcIcon.Visible = song.Medley.Source == EDataSource.Calculated;
_MedleyTagIcon.Visible = song.Medley.Source == EDataSource.Tag;
_InstrumentalIcon.Visible = song.HasInstrumental();
_VocalsIcon.Visible = song.HasVocals();
_UpdateLength(song);
}