summaryrefslogtreecommitdiff
path: root/viewGridNavigator.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-04-05 13:31:04 +0200
committerchriszero <zerov83@gmail.com>2015-04-05 13:31:04 +0200
commitf7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 (patch)
tree4dd38d637ad2d5427c93a8d8d695e91c11df33d4 /viewGridNavigator.cpp
parent21ee9e67ff7029c099c9fd772d3dc3e23c955199 (diff)
downloadvdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.gz
vdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.bz2
More Skindesigner support.
Define a custom server
Diffstat (limited to 'viewGridNavigator.cpp')
-rw-r--r--viewGridNavigator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/viewGridNavigator.cpp b/viewGridNavigator.cpp
index 75192a9..60e57cf 100644
--- a/viewGridNavigator.cpp
+++ b/viewGridNavigator.cpp
@@ -12,7 +12,7 @@ cGridElement::cGridElement()
m_bInit = true;
}
-cViewGridNavigator::cViewGridNavigator(cViewGrid* viewGrid)
+cViewGridNavigator::cViewGridNavigator(cOsdView* rootView, cViewGrid* viewGrid)
{
m_columns = 2;
m_rows = 2;
@@ -20,6 +20,7 @@ cViewGridNavigator::cViewGridNavigator(cViewGrid* viewGrid)
m_setIterator = true;
m_pGrid = std::shared_ptr<cViewGrid>(viewGrid);
+ m_pRootView = rootView;
}
@@ -38,9 +39,7 @@ void cViewGridNavigator::ReDraw(cGridElement* element)
double height = 1.0 / m_rows;
m_pGrid->SetGrid(element->GridElementId(), x, y, width, height);
Flush();
- m_pRootView->Display();
}
-//
}
void cViewGridNavigator::FilterElements(int scrollOffset)