mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
bedit: ensure apply of possible changed timeout settings on runtime
This commit is contained in:
@@ -211,7 +211,7 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
||||
|
||||
bouquetsChanged = false;
|
||||
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
|
||||
bool loop = true;
|
||||
while (loop)
|
||||
@@ -219,7 +219,7 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
||||
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd);
|
||||
|
||||
if (msg <= CRCInput::RC_MaxRC)
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
|
||||
if ((msg == CRCInput::RC_timeout) || (msg == (neutrino_msg_t)g_settings.key_channelList_cancel))
|
||||
{
|
||||
@@ -354,7 +354,7 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
||||
paintFoot();
|
||||
paintItems();
|
||||
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
}
|
||||
}
|
||||
else if (state == beMoving)
|
||||
|
@@ -251,7 +251,7 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
||||
|
||||
channelsChanged = false;
|
||||
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
|
||||
bool loop = true;
|
||||
while (loop)
|
||||
@@ -259,7 +259,7 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
||||
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd);
|
||||
|
||||
if (msg <= CRCInput::RC_MaxRC)
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
|
||||
if ((msg == CRCInput::RC_timeout) || (msg == (neutrino_msg_t)g_settings.key_channelList_cancel))
|
||||
{
|
||||
@@ -296,7 +296,7 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
||||
if (state == beDefault)
|
||||
addChannel();
|
||||
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
}
|
||||
else if (msg == CRCInput::RC_yellow)
|
||||
{
|
||||
|
@@ -251,7 +251,7 @@ int CBEChannelSelectWidget::exec(CMenuTarget* parent, const std::string & /*acti
|
||||
paintFoot();
|
||||
paintItems();
|
||||
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
|
||||
channelChanged = false;
|
||||
bool loop = true;
|
||||
@@ -260,7 +260,7 @@ int CBEChannelSelectWidget::exec(CMenuTarget* parent, const std::string & /*acti
|
||||
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd);
|
||||
|
||||
if (msg <= CRCInput::RC_MaxRC)
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(*timeout_ptr);
|
||||
|
||||
if ((msg == CRCInput::RC_timeout) || (msg == (neutrino_msg_t)g_settings.key_channelList_cancel) || (msg == CRCInput::RC_home))
|
||||
{
|
||||
|
@@ -53,7 +53,7 @@ CBEGlobals::CBEGlobals()
|
||||
x = getScreenStartX(width);
|
||||
y = getScreenStartY(height);
|
||||
|
||||
timeout = g_settings.timing[SNeutrinoSettings::TIMING_MENU];
|
||||
timeout_ptr = &g_settings.timing[SNeutrinoSettings::TIMING_MENU];
|
||||
|
||||
dline = NULL;
|
||||
ibox = NULL;
|
||||
|
@@ -54,7 +54,7 @@ class CBEGlobals
|
||||
int status_icon_width;
|
||||
|
||||
unsigned int items_count;
|
||||
int timeout;
|
||||
int* timeout_ptr;
|
||||
|
||||
void paintBody();
|
||||
|
||||
|
Reference in New Issue
Block a user