CTimeOSD: Restoring infoclock after hiding osdtime

This commit is contained in:
M. Liebmann
2013-12-03 08:57:03 +01:00
parent afe8427b2b
commit be142c1e4a

View File

@@ -139,13 +139,13 @@ void CTimeOSD::hide()
if(!visible) if(!visible)
return; return;
InfoClock->enableInfoClock(true);
//GetDimensions(); //GetDimensions();
frameBuffer->paintBackgroundBoxRel(m_xend - m_width - t1, m_y, m_width, m_height); frameBuffer->paintBackgroundBoxRel(m_xend - m_width - t1, m_y, m_width, m_height);
timescale->reset(); timescale->reset();
frameBuffer->paintBackgroundBoxRel(m_xstart-2, m_y, 2+BARLEN+2, m_height); //clear border frameBuffer->paintBackgroundBoxRel(m_xstart-2, m_y, 2+BARLEN+2, m_height); //clear border
visible=false; visible=false;
InfoClock->enableInfoClock(true);
} }
void CTimeOSD::switchMode(int position, int duration) void CTimeOSD::switchMode(int position, int duration)