Basic Rap Note Support (#708)
* Differentiate between Rap and Freestyle Notes * Render Rap Notes * Treat Rap notes as own notes * Update CLyric.cs --------- Co-authored-by: Florian Ostertag <flokuep@users.noreply.github.com>
This commit is contained in:
1 parent
958121a252
commit
451b97acbf
3 files changed
+20
-12
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#region license
|
||||
#region license
|
||||
// This file is part of Vocaluxe.
|
||||
//
|
||||
// Vocaluxe is free software: you can redistribute it and/or modify
|
||||
@@ -117,8 +117,21 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
private void _SetText(CSongNote note)
|
||||
{
|
||||
_Text.Text = note.Text;
|
||||
_Text.Font.Style = (note.Type == ENoteType.Freestyle) ? EStyle.BoldItalic : EStyle.Bold;
|
||||
_Text.Text = note.Text;
|
||||
|
||||
if (note.Type == ENoteType.Freestyle)
|
||||
{
|
||||
_Text.Font.Style = EStyle.Italic;
|
||||
}
|
||||
else if (note.Type == ENoteType.Rap || note.Type == ENoteType.RapGolden)
|
||||
{
|
||||
_Text.Font.Style = EStyle.BoldItalic;
|
||||
}
|
||||
else
|
||||
{
|
||||
_Text.Font.Style = EStyle.Bold;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
@@ -379,4 +392,4 @@ namespace VocaluxeLib.Menu
|
||||
}
|
||||
#endregion ThemeEdit
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user