diff --git a/Vocaluxe/Screens/CScreenCredits.cs b/Vocaluxe/Screens/CScreenCredits.cs index efa47b2b..4e1e0455 100644 --- a/Vocaluxe/Screens/CScreenCredits.cs +++ b/Vocaluxe/Screens/CScreenCredits.cs @@ -213,7 +213,7 @@ namespace Vocaluxe.Screens if (paragraph[e] == null) continue; string newLine = " " + paragraph[e]; - CText text = GetNewText(75, lastY, -2, 30, -1, EAlignment.Left, EStyle.Bold, "Outline", new SColorF(1, 1, 1, 1), line); + CText text = GetNewText(75, lastY, -2, 25, -1, EAlignment.Left, EStyle.Bold, "Outline", new SColorF(1, 1, 1, 1), line); if (CFonts.GetTextBounds(text).Width < (CSettings.RenderW - 220)) { line += newLine; diff --git a/Vocaluxe/Screens/CScreenMain.cs b/Vocaluxe/Screens/CScreenMain.cs index 165b034d..4d92afdc 100644 --- a/Vocaluxe/Screens/CScreenMain.cs +++ b/Vocaluxe/Screens/CScreenMain.cs @@ -39,6 +39,8 @@ namespace Vocaluxe.Screens private const string _ButtonProfiles = "ButtonProfiles"; private const string _ButtonExit = "ButtonExit"; + private CText _ReleaseText; + //CParticleEffect Snowflakes; public override void Init() { @@ -48,6 +50,13 @@ namespace Vocaluxe.Screens _ThemeButtons = new string[] {_ButtonSing, _ButtonParty, _ButtonOptions, _ButtonProfiles, _ButtonExit}; } + public override void LoadTheme(string xmlPath) + { + base.LoadTheme(xmlPath); + + _ReleaseText = GetNewText(10, 690, -1, 15, -1, EAlignment.Left, EStyle.Normal, "Normal", new SColorF(1f, 1f, 1f, 1f), CSettings.GetFullVersionText()); + } + public override bool HandleInput(SKeyEvent keyEvent) { base.HandleInput(keyEvent); @@ -157,10 +166,7 @@ namespace Vocaluxe.Screens if (CSettings.VersionRevision != ERevision.Release) // ReSharper restore ConditionIsAlwaysTrueOrFalse { - CFonts.SetFont("Normal"); - CFonts.Style = EStyle.Normal; - //TODO: Set Color to white! - CFonts.DrawText(CSettings.GetFullVersionText(), 10, 680, 34); + _ReleaseText.Draw(); } return true;