mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
Merge branch 'cst-next' of git://coolstreamtech.de/cst-public-gui-neutrino into ni/cst-next
Origin commit data
------------------
Branch: ni/coolstream
Commit: b3ae2c924c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-06-04 (Sat, 04 Jun 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1829,7 +1829,10 @@ void CAudioPlayerGui::paint()
|
||||
{
|
||||
if (m_show_playlist)
|
||||
{
|
||||
m_liststart = (m_selected / m_listmaxshow) * m_listmaxshow;
|
||||
unsigned int tmp_max = m_listmaxshow;
|
||||
if(!tmp_max)
|
||||
tmp_max = 1;
|
||||
m_liststart = (m_selected / tmp_max) * m_listmaxshow;
|
||||
paintHead();
|
||||
for (unsigned int count=0; count<m_listmaxshow; count++)
|
||||
paintItem(count);
|
||||
@@ -1838,8 +1841,8 @@ void CAudioPlayerGui::paint()
|
||||
int sb = m_fheight * m_listmaxshow;
|
||||
m_frameBuffer->paintBoxRel(m_x + m_width - 15, ypos, 15, sb, COL_MENUCONTENT_PLUS_1);
|
||||
|
||||
int sbc = ((m_playlist.size() - 1) / m_listmaxshow) + 1;
|
||||
int sbs = (m_selected / m_listmaxshow);
|
||||
int sbc = ((m_playlist.size() - 1) / tmp_max) + 1;
|
||||
int sbs = (m_selected / tmp_max);
|
||||
if (sbc < 1)
|
||||
sbc = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user