Testing GXA icon blit; Cleanup FB and pictureviwer code; This is work in progress, any bugs possible

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@258 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f6462c65d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-02-04 (Thu, 04 Feb 2010)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2010-02-04 20:18:42 +00:00
parent 690df91520
commit 6a43795692
12 changed files with 319 additions and 524 deletions

View File

@@ -2312,7 +2312,7 @@ void CAudioPlayerGui::screensaver(bool on)
if (on)
{
m_screensaver = true;
m_frameBuffer->ClearFrameBuffer();
m_frameBuffer->Clear();
stimer = g_RCInput->addTimer(10*1000*1000, false);
}
else

View File

@@ -281,7 +281,7 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
bool usedBackground = frameBuffer->getuseBackground();
if (usedBackground) {
frameBuffer->saveBackgroundImage();
frameBuffer->ClearFrameBuffer();
frameBuffer->Clear();
}
const CBookmark *theBookmark = NULL;

View File

@@ -277,7 +277,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
scan_pids = _scan_pids;
videoDecoder->StopPicture();
frameBuffer->ClearFrameBuffer();
frameBuffer->Clear();
g_Sectionsd->setPauseScanning(false);
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);

View File

@@ -793,7 +793,7 @@ bool CUpnpBrowserGui::selectItem(std::string id)
CAudioPlayer::getInstance()->play(&mp3, g_settings.audioplayer_highprio == 1);
}
m_playing_entry = (*entries)[selected - index];
#if 0
#if 0 // TODO !
// #ifdef ENABLE_PICTUREVIEWER
else if ((mime == "image/gif") || (mime == "image/jpeg"))
{
@@ -825,7 +825,7 @@ bool CUpnpBrowserGui::selectItem(std::string id)
}
m_frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
m_frameBuffer->setBlendLevel(g_settings.gtx_alpha1, g_settings.gtx_alpha2);
m_frameBuffer->ClearFrameBuffer();
m_frameBuffer->Clear();
delete viewer;
}
// #endif