mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
Audioplayer: Small display bugs fixed
- Use 'full paint' for infobox
Origin commit data
------------------
Branch: ni/coolstream
Commit: e7a1dca8ea
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-23 (Mon, 23 Jul 2012)
Origin message was:
------------------
* Audioplayer: Small display bugs fixed
- Use 'full paint' for infobox
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1882,6 +1882,10 @@ void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
|
||||
if (dline != NULL)
|
||||
dline->hide();
|
||||
|
||||
// clear infobox
|
||||
if (ibox != NULL)
|
||||
ibox->hide();
|
||||
|
||||
// paint Line if detail info (and not valid list pos) and info box
|
||||
if (!m_playlist.empty() && (pos >= 0))
|
||||
{
|
||||
@@ -1894,7 +1898,8 @@ void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
|
||||
// paint id3 infobox
|
||||
if (ibox == NULL)
|
||||
ibox = new CComponentsInfoBox(m_x, ypos2, m_width, m_info_height, false);
|
||||
ibox->paint(false);
|
||||
ibox->setYPos(ypos2);
|
||||
ibox->paint(false, true);
|
||||
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(m_x + 10, ypos2 + 2 + 1*m_fheight, m_width- 80,
|
||||
m_playlist[m_selected].MetaData.title, COL_MENUCONTENTDARK, 0, true); // UTF-8
|
||||
|
Reference in New Issue
Block a user