diff options
| author | Christian <zerov83@gmail.com> | 2016-03-25 20:32:35 +0100 |
|---|---|---|
| committer | Christian <zerov83@gmail.com> | 2016-03-25 20:32:35 +0100 |
| commit | 495f828b507611fafa49997adf7f2bda815cdcb8 (patch) | |
| tree | 96b088065db72f51b9a1d7540e3f81e7b5ef5bcd /viewGridNavigator.cpp | |
| parent | 3ea2010e28e867503c98e0019344168682ddad75 (diff) | |
| download | vdr-plugin-plex-495f828b507611fafa49997adf7f2bda815cdcb8.tar.gz vdr-plugin-plex-495f828b507611fafa49997adf7f2bda815cdcb8.tar.bz2 | |
Fixes some display glitches in detailView
Diffstat (limited to 'viewGridNavigator.cpp')
| -rw-r--r-- | viewGridNavigator.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/viewGridNavigator.cpp b/viewGridNavigator.cpp index c6b3382..ec92c5f 100644 --- a/viewGridNavigator.cpp +++ b/viewGridNavigator.cpp @@ -36,6 +36,7 @@ void cViewGridNavigator::SetViewGrid(std::shared_ptr<skindesignerapi::cViewGrid> void cViewGridNavigator::ReDraw(cGridElement* element) { + if(m_bHidden) return; if(element) { cMutexLock MutexLock(&cPlexSdOsd::RedrawMutex); if (!element->IsVisible()) { @@ -258,3 +259,19 @@ bool cViewGridNavigator::NavigateRight() m_activeElementIter = next; return true; } + +void cViewGridNavigator::Deactivate(bool hide) +{ + if (m_pRootView) { + m_pRootView->Deactivate(hide); + m_bHidden = hide; + } +} + +void cViewGridNavigator::Activate() +{ + if (m_pRootView) { + m_pRootView->Activate(); + m_bHidden = false; + } +} |
