mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
osd_helpers.cpp: use infoclock methods with better readability
Origin commit data
------------------
Branch: ni/coolstream
Commit: d7cb1da62f
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-05-05 (Sun, 05 May 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -97,7 +97,7 @@ void COsdHelpers::changeOsdResolution(uint32_t mode, bool automode/*=false*/, bo
|
|||||||
//printf("\n>>>>>[%s:%d] New res: %dx%dx%d\n \n", __func__, __LINE__, resW, resH, bpp);
|
//printf("\n>>>>>[%s:%d] New res: %dx%dx%d\n \n", __func__, __LINE__, resW, resH, bpp);
|
||||||
g_settings.osd_resolution = modeNew;
|
g_settings.osd_resolution = modeNew;
|
||||||
if (InfoClock)
|
if (InfoClock)
|
||||||
InfoClock->enableInfoClock(false);
|
InfoClock->disableInfoClock();
|
||||||
frameBuffer->Clear();
|
frameBuffer->Clear();
|
||||||
if (resetOsd) {
|
if (resetOsd) {
|
||||||
CNeutrinoApp::getInstance()->setScreenSettings();
|
CNeutrinoApp::getInstance()->setScreenSettings();
|
||||||
@@ -111,7 +111,7 @@ void COsdHelpers::changeOsdResolution(uint32_t mode, bool automode/*=false*/, bo
|
|||||||
CNeutrinoApp::getInstance()->channelList->ResetModules();
|
CNeutrinoApp::getInstance()->channelList->ResetModules();
|
||||||
}
|
}
|
||||||
if (InfoClock)
|
if (InfoClock)
|
||||||
InfoClock->enableInfoClock(true);
|
InfoClock->enableInfoClock();
|
||||||
}
|
}
|
||||||
if (g_InfoViewer) {
|
if (g_InfoViewer) {
|
||||||
g_InfoViewer->ResetModules();
|
g_InfoViewer->ResetModules();
|
||||||
|
Reference in New Issue
Block a user