summaryrefslogtreecommitdiff
path: root/detailView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'detailView.cpp')
-rw-r--r--detailView.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/detailView.cpp b/detailView.cpp
index ef84179..6f9880a 100644
--- a/detailView.cpp
+++ b/detailView.cpp
@@ -27,6 +27,8 @@ void cDetailView::Flush()
m_pfooter->Display();
m_pGrid->Display();
m_pScrollbar->Display();
+
+ m_pRootView->Display();
}
void cDetailView::Draw()
@@ -76,16 +78,13 @@ void cDetailView::DrawBackground()
void cDetailView::DrawFooter()
{
- string textGreen = "";
+ string textRed = tr("Play");
+ string textGreen = tr("Rewind");
string textYellow = "";
- string textRed = "";
- string textBlue = "Play";
-
- if(auto vid = dynamic_cast<plexclient::Video*>(SelectedObject()) ) {
- if(vid->m_iViewCount > 0) textRed = tr("Unscrobble");
- else textRed = tr("Scrobble");
- }
+ string textBlue = "";
+ if(m_pVideo->m_iViewCount > 0) textYellow = tr("Unscrobble");
+ else textYellow = tr("Scrobble");
int colorKeys[4] = { Setup.ColorKey0, Setup.ColorKey1, Setup.ColorKey2, Setup.ColorKey3 };
@@ -167,6 +166,6 @@ eOSState cDetailView::NavigateSelect()
eOSState cDetailView::NavigateBack()
{
- if(m_setIterator) return eOSState::osContinue;;
+ if(m_setIterator) return eOSState::osContinue;
return eOSState::osBack;
}