diff options
author | chriszero <zerov83@gmail.com> | 2015-04-05 13:31:04 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-05 13:31:04 +0200 |
commit | f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 (patch) | |
tree | 4dd38d637ad2d5427c93a8d8d695e91c11df33d4 /viewGridNavigator.h | |
parent | 21ee9e67ff7029c099c9fd772d3dc3e23c955199 (diff) | |
download | vdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.gz vdr-plugin-plex-f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9.tar.bz2 |
More Skindesigner support.
Define a custom server
Diffstat (limited to 'viewGridNavigator.h')
-rw-r--r-- | viewGridNavigator.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/viewGridNavigator.h b/viewGridNavigator.h index a0fb920..906257b 100644 --- a/viewGridNavigator.h +++ b/viewGridNavigator.h @@ -38,6 +38,7 @@ protected: int m_columns; std::shared_ptr<cViewGrid> m_pGrid; + cOsdView* m_pRootView; bool m_newDimensions; bool m_setIterator; @@ -51,21 +52,18 @@ protected: void SetGridElementData(cGridElement *obj); public: - cViewGridNavigator(cViewGrid* viewGrid); + cViewGridNavigator(cOsdView* rootView, cViewGrid* viewGrid); void SetGridDimensions(int rows, int columns); - void Flush() { m_pGrid->Display(); }; - void Clear() { m_pGrid->Clear(); }; - void DrawGrid() { m_pGrid->Display(); } + virtual void Flush() { m_pGrid->Display(); }; + virtual void Clear() { m_pGrid->Clear(); }; virtual void NavigateLeft(); virtual void NavigateRight(); virtual void NavigateUp(); virtual void NavigateDown(); virtual eOSState NavigateSelect() = 0; virtual eOSState NavigateBack() = 0; + virtual void ReDraw(cGridElement* element); cGridElement* SelectedObject() { return *m_activeElementIter; } - void ReDraw(cGridElement* element); - - cOsdView* m_pRootView; }; #endif // CVIEWGRIDNAVIGATOR_H |