mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
gui/infoviewer.cpp: init and reset radiotext position and size
This commit is contained in:
@@ -129,6 +129,7 @@ void CInfoViewer::Init()
|
||||
|
||||
channel_id = CZapit::getInstance()->GetCurrentChannelID();;
|
||||
lcdUpdateTimer = 0;
|
||||
rt_x = rt_y = rt_h = rt_w = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -997,7 +998,9 @@ void CInfoViewer::showMotorMoving (int duration)
|
||||
|
||||
void CInfoViewer::killRadiotext()
|
||||
{
|
||||
frameBuffer->paintBackgroundBox(rt_x, rt_y, rt_w, rt_h);
|
||||
if (g_Radiotext->S_RtOsd)
|
||||
frameBuffer->paintBackgroundBox(rt_x, rt_y, rt_w, rt_h);
|
||||
rt_x = rt_y = rt_h = rt_w = 0;
|
||||
}
|
||||
|
||||
void CInfoViewer::showRadiotext()
|
||||
@@ -1133,7 +1136,6 @@ void CInfoViewer::showRadiotext()
|
||||
|
||||
}
|
||||
|
||||
|
||||
int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
|
||||
{
|
||||
if ((msg == NeutrinoMessages::EVT_CURRENTNEXT_EPG) || (msg == NeutrinoMessages::EVT_NEXTPROGRAM)) {
|
||||
|
Reference in New Issue
Block a user