mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 07:08:28 +02:00
glcdsetup: localize clock options
Origin commit data
------------------
Branch: ni/coolstream
Commit: e2b7af2b1b
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-14 (Sun, 14 Jun 2020)
Origin message was:
------------------
- glcdsetup: localize clock options
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -240,9 +240,9 @@ void nGLCD::Exec() {
|
||||
if (percent_time_standby) {
|
||||
|
||||
std::string Time;
|
||||
if (g_settings.glcd_time_in_standby == 3)
|
||||
if (g_settings.glcd_time_in_standby == CLOCK_ANALOG)
|
||||
LcdAnalogClock(bitmap->Width()/2, bitmap->Height()/2, 200);
|
||||
else if (g_settings.glcd_time_in_standby == 2)
|
||||
else if (g_settings.glcd_time_in_standby == CLOCK_DIGITAL_HMS)
|
||||
Time = strftime("%H:%M:%S", tm);
|
||||
else
|
||||
Time = strftime("%H:%M", tm);
|
||||
@@ -795,7 +795,7 @@ void nGLCD::Update() {
|
||||
|
||||
void nGLCD::StandbyMode(bool b) {
|
||||
if (nglcd) {
|
||||
if (g_settings.glcd_time_in_standby) {
|
||||
if (g_settings.glcd_time_in_standby != CLOCK_OFF) {
|
||||
nglcd->doStandbyTime = b;
|
||||
nglcd->doStandby = false;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user