mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
infoviewer: fix update of runningRest
there was no update in movieplayer mode Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1784,19 +1784,20 @@ void CInfoViewer::display_Info(const char *current, const char *next,
|
|||||||
txt_curr_start->setText(runningStart, CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO], colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_INFOBAR_TEXT);
|
txt_curr_start->setText(runningStart, CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO], colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_INFOBAR_TEXT);
|
||||||
txt_curr_start->paint(CC_SAVE_SCREEN_YES);
|
txt_curr_start->paint(CC_SAVE_SCREEN_YES);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (runningRest){
|
// we have always runningRest, except it is NULL
|
||||||
if (txt_curr_rest == NULL)
|
if (runningRest)
|
||||||
txt_curr_rest = new CComponentsTextTransp(NULL, currTimeX, CurrInfoY - height, currTimeW, height);
|
{
|
||||||
else {
|
if (txt_curr_rest == NULL)
|
||||||
if (txt_curr_rest->isPainted())
|
txt_curr_rest = new CComponentsTextTransp(NULL, currTimeX, CurrInfoY - height, currTimeW, height);
|
||||||
txt_curr_rest->kill();
|
else {
|
||||||
txt_curr_rest->setDimensionsAll(currTimeX, CurrInfoY - height, currTimeW, height);
|
if (txt_curr_rest->isPainted())
|
||||||
}
|
txt_curr_rest->kill();
|
||||||
txt_curr_rest->setItemName("txt_curr_rest");
|
txt_curr_rest->setDimensionsAll(currTimeX, CurrInfoY - height, currTimeW, height);
|
||||||
txt_curr_rest->setText(runningRest, CTextBox::RIGHT, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO], colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_INFOBAR_TEXT);
|
|
||||||
txt_curr_rest->paint(CC_SAVE_SCREEN_YES);
|
|
||||||
}
|
}
|
||||||
|
txt_curr_rest->setItemName("txt_curr_rest");
|
||||||
|
txt_curr_rest->setText(runningRest, CTextBox::RIGHT, g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO], colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_INFOBAR_TEXT);
|
||||||
|
txt_curr_rest->paint(CC_SAVE_SCREEN_YES);
|
||||||
}
|
}
|
||||||
|
|
||||||
//next event
|
//next event
|
||||||
|
Reference in New Issue
Block a user