mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
imageinfo_ni: align fade code to other fade code
Origin commit data
------------------
Branch: ni/coolstream
Commit: 25147a0828
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-06 (Thu, 06 Oct 2016)
Origin message was:
------------------
- imageinfo_ni: align fade code to other fade code
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -173,8 +173,22 @@ int CImageInfoNI::exec(CMenuTarget* parent, const std::string &)
|
||||
{
|
||||
break;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else if (msg == CRCInput::RC_setup)
|
||||
if (fadeout && msg == CRCInput::RC_timeout)
|
||||
{
|
||||
if (fader.StartFadeOut())
|
||||
{
|
||||
msg = 0;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == CRCInput::RC_setup)
|
||||
{
|
||||
res = menu_return::RETURN_EXIT_ALL;
|
||||
fadeout = true;
|
||||
@@ -200,18 +214,6 @@ int CImageInfoNI::exec(CMenuTarget* parent, const std::string &)
|
||||
CNeutrinoApp::getInstance()->handleMsg(msg, data);
|
||||
}
|
||||
|
||||
if (fadeout && msg == CRCInput::RC_timeout)
|
||||
{
|
||||
if (fader.StartFadeOut())
|
||||
{
|
||||
msg = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Stat_Info(&cpu);
|
||||
paint_CPU_Percent(CPU_Percent(&cpu));
|
||||
}
|
||||
|
Reference in New Issue
Block a user