mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
* Audioplayer: Small display bugs fixed
This commit is contained in:
@@ -65,7 +65,6 @@
|
|||||||
#include <gui/widget/hintbox.h>
|
#include <gui/widget/hintbox.h>
|
||||||
#include <gui/widget/stringinput.h>
|
#include <gui/widget/stringinput.h>
|
||||||
#include <gui/widget/stringinput_ext.h>
|
#include <gui/widget/stringinput_ext.h>
|
||||||
#include <gui/widget/components.h>
|
|
||||||
|
|
||||||
#include <system/settings.h>
|
#include <system/settings.h>
|
||||||
#include <xmltree/xmlinterface.h>
|
#include <xmltree/xmlinterface.h>
|
||||||
@@ -1874,14 +1873,14 @@ void CAudioPlayerGui::clearItemID3DetailsLine ()
|
|||||||
void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
|
void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
|
||||||
{
|
{
|
||||||
int xpos = m_x - ConnectLineBox_Width;
|
int xpos = m_x - ConnectLineBox_Width;
|
||||||
int ypos1 = m_y + m_title_height + m_theight+ 0 + pos*m_fheight;
|
int ypos1 = m_y + m_title_height + m_theight+ 0 + pos*m_fheight + INFO_BOX_Y_OFFSET;
|
||||||
int ypos2 = m_y + (m_height - m_info_height);
|
int ypos2 = m_y + (m_height - m_info_height) + INFO_BOX_Y_OFFSET;
|
||||||
int ypos1a = ypos1 + (m_fheight / 2) - 2;
|
int ypos1a = ypos1 + (m_fheight / 2) - 2;
|
||||||
int ypos2a = ypos2 + (m_info_height / 2) - 2;
|
int ypos2a = ypos2 + (m_info_height / 2) - 2;
|
||||||
|
|
||||||
// Clear
|
// clear details line
|
||||||
m_frameBuffer->paintBackgroundBoxRel(xpos - 1, m_y + m_title_height, ConnectLineBox_Width + 1,
|
if (dline != NULL)
|
||||||
m_height - m_title_height);
|
dline->hide();
|
||||||
|
|
||||||
// paint Line if detail info (and not valid list pos) and info box
|
// paint Line if detail info (and not valid list pos) and info box
|
||||||
if (!m_playlist.empty() && (pos >= 0))
|
if (!m_playlist.empty() && (pos >= 0))
|
||||||
@@ -1890,7 +1889,7 @@ void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
|
|||||||
if (dline == NULL)
|
if (dline == NULL)
|
||||||
dline = new CComponentsDetailLine(xpos, ypos1a, ypos2a, m_fheight/2+1, m_fheight);
|
dline = new CComponentsDetailLine(xpos, ypos1a, ypos2a, m_fheight/2+1, m_fheight);
|
||||||
dline->setYPos(ypos1a);
|
dline->setYPos(ypos1a);
|
||||||
dline->paint(false);
|
dline->paint();
|
||||||
|
|
||||||
// paint id3 infobox
|
// paint id3 infobox
|
||||||
if (ibox == NULL)
|
if (ibox == NULL)
|
||||||
|
@@ -37,6 +37,7 @@
|
|||||||
#include "driver/framebuffer.h"
|
#include "driver/framebuffer.h"
|
||||||
#include "driver/audiofile.h"
|
#include "driver/audiofile.h"
|
||||||
#include "gui/filebrowser.h"
|
#include "gui/filebrowser.h"
|
||||||
|
#include "gui/widget/components.h"
|
||||||
#include "gui/widget/menue.h"
|
#include "gui/widget/menue.h"
|
||||||
|
|
||||||
#include <xmltree/xmlinterface.h>
|
#include <xmltree/xmlinterface.h>
|
||||||
|
Reference in New Issue
Block a user