From 5650cd72f66ca59f5441729e79ee1b56d501eda5 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Mon, 8 Apr 2013 16:55:14 +0200 Subject: [PATCH] src/gui/audioplayer.cpp: Fix osd (draw frame) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/55e37eb2b53adea5306b49dc1e704190a0de16ca Author: Michael Liebmann Date: 2013-04-08 (Mon, 08 Apr 2013) Origin message was: ------------------ * src/gui/audioplayer.cpp: Fix osd (draw frame) --- src/gui/audioplayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 167da68e5..1738b2dae 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -1797,13 +1797,13 @@ void CAudioPlayerGui::paintInfo() if (!m_show_playlist) { // no playlist -> smaller Info-Box - m_frameBuffer->paintBoxFrame(m_x, m_y, m_width, m_title_height - 10 - m_fheight,2, COL_MENUCONTENT_PLUS_6, c_rad_mid); - m_frameBuffer->paintBoxRel(m_x + 2, m_y + 2 , m_width - 4, m_title_height - 14 - m_fheight, COL_MENUCONTENTSELECTED_PLUS_0, c_rad_mid); + m_frameBuffer->paintBoxRel(m_x + 1, m_y + 1 , m_width - 2, m_title_height - 12 - m_fheight, COL_MENUCONTENTSELECTED_PLUS_0, c_rad_mid); + m_frameBuffer->paintBoxFrame(m_x, m_y, m_width, m_title_height - 10 - m_fheight, 2, COL_MENUCONTENT_PLUS_6, c_rad_mid); } else { - m_frameBuffer->paintBoxFrame(m_x, m_y, m_width, m_title_height - 10,2, COL_MENUCONTENT_PLUS_6, c_rad_mid); - m_frameBuffer->paintBoxRel(m_x + 2, m_y + 2 , m_width - 4, m_title_height - 14, COL_MENUCONTENTSELECTED_PLUS_0, c_rad_mid); + m_frameBuffer->paintBoxRel(m_x + 1, m_y + 1 , m_width - 2, m_title_height - 12, COL_MENUCONTENTSELECTED_PLUS_0, c_rad_mid); + m_frameBuffer->paintBoxFrame(m_x, m_y, m_width, m_title_height - 10, 2, COL_MENUCONTENT_PLUS_6, c_rad_mid); } // first line (Track number)