neutrino: align our startlogo handling to changed CFrameBuffer::showFrame() function

Origin commit data
------------------
Branch: ni/coolstream
Commit: dc32ecf6f7
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-10-03 (Wed, 03 Oct 2018)

Origin message was:
------------------
- neutrino: align our startlogo handling to changed CFrameBuffer::showFrame() function

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-10-03 18:01:22 +02:00
parent ce756e1100
commit 812588fb15

View File

@@ -2562,14 +2562,12 @@ TIMER_START();
start_text[99] = '\0';
CHintBox * hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, start_text);
//NI show startlogo
// show startlogo
bool startlogo = false;
if (!show_startwizard) {
if (!show_startwizard)
startlogo = true;
}
else {
else
hintBox->paint();
}
CVFD::getInstance()->init(neutrinoFonts->fontDescr.filename.c_str(), neutrinoFonts->fontDescr.name.c_str());
CVFD::getInstance()->Clear();
@@ -2624,10 +2622,9 @@ TIMER_START();
g_videoSettings = new CVideoSettings;
g_videoSettings->setVideoSettings();
//NI show startlogo
if (startlogo) {
frameBuffer->showFrame("start.jpg");
}
// show startlogo
if (startlogo)
startlogo = frameBuffer->showFrame("start.jpg");
g_RCInput = new CRCInput();
@@ -2759,8 +2756,9 @@ TIMER_START();
startwizard.exec(NULL, "");
}
//NI - show startlogo
if (startlogo) {
// clean up startlogo
if (startlogo)
{
startlogo = false;
sleep(3);
frameBuffer->stopFrame();