mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
tripledragon: small cosmetic LCD fixes
Origin commit data
------------------
Branch: ni/coolstream
Commit: be99a52526
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-10 (Sat, 10 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Homepage: http://dbox.cyberphoria.org/
|
||||
|
||||
Copyright (C) 2008 Novell, Inc. Author: Stefan Seyfried
|
||||
(C) 2009 Stefan Seyfried
|
||||
(C) 2009-2012 Stefan Seyfried
|
||||
|
||||
License: GPL
|
||||
|
||||
@@ -543,7 +543,7 @@ void CLCD::showTextScreen(const std::string & big, const std::string & small, co
|
||||
displayUpdate();
|
||||
}
|
||||
|
||||
void CLCD::showServicename(const std::string name, const bool perform_wakeup)
|
||||
void CLCD::showServicename(const std::string name, const bool clear_epg)
|
||||
{
|
||||
/*
|
||||
1 = show servicename
|
||||
@@ -558,11 +558,13 @@ void CLCD::showServicename(const std::string name, const bool perform_wakeup)
|
||||
|
||||
if (!name.empty())
|
||||
servicename = name;
|
||||
if (clear_epg)
|
||||
epg_title.clear();
|
||||
|
||||
if (mode != MODE_TVRADIO)
|
||||
return;
|
||||
|
||||
showTextScreen(servicename, epg_title, showmode, perform_wakeup, true);
|
||||
showTextScreen(servicename, epg_title, showmode, true, true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -189,7 +189,7 @@ class CLCD
|
||||
void setMode(const MODES m, const char * const title = "");
|
||||
MODES getMode() { return mode; };
|
||||
|
||||
void showServicename(const std::string name, const bool perform_wakeup = true); // UTF-8
|
||||
void showServicename(const std::string name, const bool clear_epg = false);
|
||||
void setEPGTitle(const std::string title);
|
||||
void setMovieInfo(const AUDIOMODES playmode, const std::string big, const std::string small, const bool centered = false);
|
||||
void setMovieAudio(const bool is_ac3);
|
||||
@@ -234,7 +234,7 @@ class CLCD
|
||||
void Unlock();
|
||||
void Clear();
|
||||
void ShowIcon(vfd_icon icon, bool show);
|
||||
void ShowText(const char *s) { showServicename(std::string(s)); };
|
||||
void ShowText(const char *s) { showServicename(std::string(s), true); };
|
||||
#ifndef HAVE_TRIPLEDRAGON
|
||||
~CLCD();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user