From 2a18c124463612df35b251de18dead05217fc572 Mon Sep 17 00:00:00 2001 From: Florian Kuepper Date: Mon, 1 Oct 2012 12:07:33 +0200 Subject: [PATCH] Fix: Draw reflection of video in song-screen. --- Vocaluxe/Menu/SongMenu/CSongMenuTileBoard.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Vocaluxe/Menu/SongMenu/CSongMenuTileBoard.cs b/Vocaluxe/Menu/SongMenu/CSongMenuTileBoard.cs index 56c6c325..86221f47 100644 --- a/Vocaluxe/Menu/SongMenu/CSongMenuTileBoard.cs +++ b/Vocaluxe/Menu/SongMenu/CSongMenuTileBoard.cs @@ -451,8 +451,8 @@ namespace Vocaluxe.Menu.SongMenu } } - - _CoverBig.Draw(1f, true); + if (_vidtex.color.A < 1) + _CoverBig.Draw(1f, true); _TextBG.Draw(); if (_vidtex.index != -1 && _Video != -1) @@ -462,9 +462,12 @@ namespace Vocaluxe.Menu.SongMenu CHelper.SetRect(bounds, ref rect, rect.Width / rect.Height, EAspect.Crop); CDraw.DrawTexture(_vidtex, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, _CoverBig.Rect.Z), - _vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), false); + _vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), false); + CDraw.DrawTextureReflection(_vidtex, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, _CoverBig.Rect.Z), + _vidtex.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), _CoverBig.ReflectionSpace, _CoverBig.ReflectionHeight); } + _Artist.Draw(); _Title.Draw();