mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
CTimeOSD: use class konform member names
CTimeOSD is inherited from CComponentsForm/Item. Therefore, it is usual to keep the functional layout. Overwritable virtual members should be used with same functionality. kill() is similar with paintBackground() known from CFrameBuffer, hide(bool) do restore saved background and expects a parameter. TODO: It works, but class layout of CTimeOSD is currently not conform with Components, because the functionalities are partially undermined and must be reworked. For Example: timescale and clock object not used as sub objects in a parent form object.
This commit is contained in:
@@ -648,7 +648,7 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
}
|
||||
if (time_forced) {
|
||||
time_forced = false;
|
||||
FileTime.hide();
|
||||
FileTime.kill();
|
||||
}
|
||||
} else if (msg == (neutrino_msg_t) g_settings.mpkey_pause) {
|
||||
if (playstate == CMoviePlayerGui::PAUSE) {
|
||||
@@ -752,7 +752,7 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
//showHelpTS();
|
||||
} else if(timeshift && (msg == CRCInput::RC_text || msg == CRCInput::RC_epg || msg == NeutrinoMessages::SHOW_EPG)) {
|
||||
bool restore = FileTime.IsVisible();
|
||||
FileTime.hide();
|
||||
FileTime.kill();
|
||||
|
||||
if( msg == CRCInput::RC_epg )
|
||||
g_EventList->exec(CNeutrinoApp::getInstance()->channelList->getActiveChannel_ChannelID(), CNeutrinoApp::getInstance()->channelList->getActiveChannelName());
|
||||
@@ -833,7 +833,7 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
}
|
||||
}
|
||||
|
||||
FileTime.hide();
|
||||
FileTime.kill();
|
||||
clearSubtitle();
|
||||
|
||||
playback->SetSpeed(1);
|
||||
|
Reference in New Issue
Block a user