diff options
author | Christian <zerov83@gmail.com> | 2016-03-30 22:30:50 +0200 |
---|---|---|
committer | Christian <zerov83@gmail.com> | 2016-03-30 22:30:50 +0200 |
commit | eef71c613bdd5b6c5b2e944a49ba43c314b73b0f (patch) | |
tree | c7d93bb8acb2fe92374575180305ce6fe1190ccb /plexSdOsd.cpp | |
parent | ee8662006d8bd06e79f12ee5143ecebd05eb2a75 (diff) | |
download | vdr-plugin-plex-eef71c613bdd5b6c5b2e944a49ba43c314b73b0f.tar.gz vdr-plugin-plex-eef71c613bdd5b6c5b2e944a49ba43c314b73b0f.tar.bz2 |
New viewelement "time" for detailview
Diffstat (limited to 'plexSdOsd.cpp')
-rw-r--r-- | plexSdOsd.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plexSdOsd.cpp b/plexSdOsd.cpp index 67ab462..5e93b1b 100644 --- a/plexSdOsd.cpp +++ b/plexSdOsd.cpp @@ -86,7 +86,6 @@ eOSState cPlexSdOsd::ProcessKey(eKeys Key) return eOSState::osContinue; } } - if (m_pBrowserGrid->DrawTime()) m_pBrowserGrid->Flush(); state = ProcessKeyBrowserView(Key); } @@ -98,7 +97,7 @@ eOSState cPlexSdOsd::ProcessKeyDetailView(eKeys Key) { eOSState state = eOSState::osContinue; plexclient::Video* vid = NULL; - + switch (Key & ~k_Repeat) { case kUp: if(m_pDetailGrid->NavigateUp()) Flush(); @@ -154,6 +153,8 @@ eOSState cPlexSdOsd::ProcessKeyDetailView(eKeys Key) state = eOSState::osEnd; } + if (state != osEnd && m_pDetailGrid->DrawTime()) m_pDetailGrid->Flush(); + return state; } @@ -221,6 +222,8 @@ eOSState cPlexSdOsd::ProcessKeyBrowserView(eKeys Key) state = eOSState::osEnd; } + if (state != osEnd && m_pBrowserGrid->DrawTime()) m_pBrowserGrid->Flush(); + return state; } |