From f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 Mon Sep 17 00:00:00 2001 From: chriszero Date: Sun, 5 Apr 2015 13:31:04 +0200 Subject: More Skindesigner support. Define a custom server --- browserGrid.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'browserGrid.h') diff --git a/browserGrid.h b/browserGrid.h index 30ada77..b91c30c 100644 --- a/browserGrid.h +++ b/browserGrid.h @@ -8,6 +8,7 @@ #include "plexgdm.h" #include "PlexServer.h" #include "viewGridNavigator.h" +#include "viewHeader.h" #include "libskindesigner/osdelements.h" class cDummyElement : public cGridElement @@ -34,6 +35,11 @@ public: class cBrowserGrid : public cViewGridNavigator { private: + std::shared_ptr m_pViewHeader; + std::shared_ptr m_pBackground; + std::shared_ptr m_pfooter; + std::shared_ptr m_pScrollbar; + bool m_bServersAreRoot; std::vector m_vServerElements; std::shared_ptr m_pContainer; @@ -42,14 +48,19 @@ private: void ProcessData(); void SetServerElements(); + void DrawFooter(); + void DrawBackground(); public: - cBrowserGrid(cViewGrid* viewGrid); - cBrowserGrid(cViewGrid* viewGrid, std::shared_ptr service); + cBrowserGrid(cOsdView* rootView); + //cBrowserGrid(cViewGrid* viewGrid, std::shared_ptr service); std::shared_ptr MediaContainer() { return m_pContainer; } + void DrawGrid(); + void SwitchGrid(ePlexMenuTab currentTab); virtual eOSState NavigateSelect(); virtual eOSState NavigateBack(); + virtual void Flush(); }; #endif // CBROWSERGRID_H -- cgit v1.2.3