CInfoViewer::showTitle: Add parameter forcePaintButtonBar

This commit is contained in:
M. Liebmann
2017-02-28 15:02:09 +01:00
parent 653e574937
commit cc05d272f2
4 changed files with 13 additions and 10 deletions

View File

@@ -458,7 +458,7 @@ void CInfoViewerBB::showBBIcons(const int modus, const std::string & icon)
}
}
void CInfoViewerBB::paintshowButtonBar()
void CInfoViewerBB::paintshowButtonBar(bool noTimer/*=false*/)
{
if (!is_visible)
return;
@@ -466,7 +466,9 @@ void CInfoViewerBB::paintshowButtonBar()
for (int i = 0; i < CInfoViewerBB::BUTTON_MAX; i++) {
tmp_bbButtonInfoText[i] = "";
}
g_InfoViewer->sec_timer_id = g_RCInput->addTimer(1*1000*1000, false);
if (!noTimer)
g_InfoViewer->sec_timer_id = g_RCInput->addTimer(1*1000*1000, false);
if (g_settings.infobar_casystem_display < 2)
paint_ca_bar();