Correct broken fading and set fallback to use old hardcoded values

This commit is contained in:
Jiiniasu committed 2016-04-10 11:02:18 +02:00
1 parent a7a359c8e7
commit 4564c6a384
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@
<R>0.675</R>
<G>0.890</G>
<B>0.969</B>
<A>0.200</A>
<A>0.500</A>
</NoteLinesColor>
<BackgroundColor>
<R>0.000</R>
+1 -1
View File
@@ -48,7 +48,7 @@
<R>0.709</R>
<G>0.968</G>
<B>0.674</B>
<A>0.200</A>
<A>0.500</A>
</NoteLinesColor>
<BackgroundColor>
<R>0.000</R>
+1 -1
View File
@@ -48,7 +48,7 @@
<R>0.968</R>
<G>0.674</G>
<B>0.674</B>
<A>0.200</A>
<A>0.500</A>
</NoteLinesColor>
<BackgroundColor>
<R>0.750</R>
+1 -1
View File
@@ -48,7 +48,7 @@
<R>0.968</R>
<G>0.956</G>
<B>0.674</B>
<A>0.200</A>
<A>0.500</A>
</NoteLinesColor>
<BackgroundColor>
<R>0.750</R>
@@ -2,7 +2,7 @@ Skin System
++++++++++
Version 5:
Added optional <NoteLineColor> to be able to colour the note lines (Fallback to gray with 0.2 Alpha if not set)
Added optional <NoteLineColor> to be able to colour the note lines (Fallback to gray with 0.5 Alpha if not set)
++++++++++
Version 4:
+2 -2
View File
@@ -62,7 +62,7 @@ namespace VocaluxeLib.Menu.SingNotes
_Color = CBase.Themes.GetPlayerColor(player + 1);
if (!CBase.Themes.GetColor("NoteLinesColor", _PartyModeID, out _NoteLinesColor))
_NoteLinesColor = new SColorF(Color.Gray, 0.5f * Alpha);
_NoteLinesColor = new SColorF(Color.Gray, 0.5f);
SPlayer playerData = CBase.Game.GetPlayers()[player];
_Lines = CBase.Game.GetSong().Notes.GetVoice(playerData.VoiceNr).Lines;
@@ -91,7 +91,7 @@ namespace VocaluxeLib.Menu.SingNotes
CSongLine line = _Lines[_CurrentLine];
if (CBase.Config.GetDrawNoteLines() == EOffOn.TR_CONFIG_ON)
_DrawNoteLines(_NoteLinesColor);
_DrawNoteLines(new SColorF(_NoteLinesColor, _NoteLinesColor.A * Alpha));
float beats = line.LastNoteBeat - line.FirstNoteBeat + 1;