From 82880824e8db765a1374fe9fd1bfdb501230ac82 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 16 Nov 2009 04:29:06 +0100 Subject: [PATCH] xbmc: - add patch to display splash fullscreen --- .../xbmc/patches/074-xbmc-full_splash-0.1.diff | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/mediacenter/xbmc/patches/074-xbmc-full_splash-0.1.diff diff --git a/packages/mediacenter/xbmc/patches/074-xbmc-full_splash-0.1.diff b/packages/mediacenter/xbmc/patches/074-xbmc-full_splash-0.1.diff new file mode 100644 index 0000000000..89e958c522 --- /dev/null +++ b/packages/mediacenter/xbmc/patches/074-xbmc-full_splash-0.1.diff @@ -0,0 +1,16 @@ +diff -Naur xbmc-24572/xbmc/utils/Splash.cpp xbmc-24572.patch/xbmc/utils/Splash.cpp +--- xbmc-24572/xbmc/utils/Splash.cpp 2009-11-13 18:19:48.374746147 +0100 ++++ xbmc-24572.patch/xbmc/utils/Splash.cpp 2009-11-14 16:58:52.677231191 +0100 +@@ -53,9 +53,9 @@ + g_graphicsContext.Clear(); + + g_graphicsContext.SetCameraPosition(CPoint(0, 0)); +- float w = g_graphicsContext.GetWidth() * 0.5f; +- float h = g_graphicsContext.GetHeight() * 0.5f; +- CGUIImage* image = new CGUIImage(0, 0, w*0.5f, h*0.5f, w, h, m_ImageName); ++ float w = g_graphicsContext.GetWidth(); ++ float h = g_graphicsContext.GetHeight(); ++ CGUIImage* image = new CGUIImage(0, 0, 0, 0, w, h, m_ImageName); + image->SetAspectRatio(CAspectRatio::AR_KEEP); + image->AllocResources(); +