mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-12 16:03:36 +02:00
NI \o/
Origin commit data
------------------
Branch: ni/coolstream
Commit: d6b3754c6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-05-19 (Thu, 19 May 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
#include <gui/timeosd.h>
|
||||
#include "screensaver.h"
|
||||
|
||||
//NI InfoIcons
|
||||
#include <gui/infoicons.h>
|
||||
extern CInfoIcons *InfoIcons;
|
||||
|
||||
|
||||
CTimeOSD::CTimeOSD():CComponentsFrmClock( 1, 1, NULL, "%H:%M:%S", NULL, false, 1, NULL, CC_SHADOW_ON, COL_LIGHT_GRAY, COL_MENUCONTENT_PLUS_0,COL_MENUCONTENTDARK_PLUS_0)
|
||||
{
|
||||
@@ -146,17 +150,21 @@ void CTimeOSD::switchMode(int position, int duration)
|
||||
{
|
||||
switch (m_mode) {
|
||||
case MODE_ASC:
|
||||
InfoIcons->enableInfoIcons(false); //NI InfoIcons
|
||||
m_mode = MODE_DESC;
|
||||
CComponents::kill();
|
||||
break;
|
||||
case MODE_DESC:
|
||||
InfoIcons->enableInfoIcons(false); //NI InfoIcons
|
||||
m_mode = MODE_BAR;
|
||||
CComponents::kill();
|
||||
break;
|
||||
case MODE_BAR:
|
||||
InfoIcons->enableInfoIcons(true); //NI InfoIcons
|
||||
KillAndResetTimescale();
|
||||
return;
|
||||
default:
|
||||
InfoIcons->enableInfoIcons(false); //NI InfoIcons
|
||||
m_mode = MODE_ASC;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user