mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CMovieBrowser: force paint of background after show of movieinfo
Movieinfo text background was transparent after closed info message box and
reset of text causes a repaint.
see also:
http://www.dbox2world.net/board293-cst-coolstream/board314-cst-coolstream-development/p158375-next-cc-branch/#post158375
Origin commit data
------------------
Commit: f9764e5e65
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-27 (Sun, 27 Oct 2013)
This commit is contained in:
@@ -1242,12 +1242,14 @@ std::string CMovieBrowser::getScreenshotName(std::string movie)
|
|||||||
void CMovieBrowser::refreshMovieInfo(void)
|
void CMovieBrowser::refreshMovieInfo(void)
|
||||||
{
|
{
|
||||||
//TRACE("[mb]->refreshMovieInfo m_vMovieInfo.size %d\n", m_vMovieInfo.size());
|
//TRACE("[mb]->refreshMovieInfo m_vMovieInfo.size %d\n", m_vMovieInfo.size());
|
||||||
|
//reset text before new init, m_pcInfo must be clean
|
||||||
std::string emptytext = " ";
|
std::string emptytext = " ";
|
||||||
if(m_vMovieInfo.empty()) {
|
if(m_pcInfo)
|
||||||
if(m_pcInfo != NULL)
|
m_pcInfo->setText(&emptytext);
|
||||||
m_pcInfo->setText(&emptytext);
|
|
||||||
|
if(m_vMovieInfo.empty())
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
if (m_movieSelectionHandler == NULL) {
|
if (m_movieSelectionHandler == NULL) {
|
||||||
// There is no selected element, clear LCD
|
// There is no selected element, clear LCD
|
||||||
m_pcInfo->setText(&emptytext);
|
m_pcInfo->setText(&emptytext);
|
||||||
|
Reference in New Issue
Block a user