summaryrefslogtreecommitdiff
path: root/browserGrid.h
diff options
context:
space:
mode:
Diffstat (limited to 'browserGrid.h')
-rw-r--r--browserGrid.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/browserGrid.h b/browserGrid.h
index 19cd501..ee62170 100644
--- a/browserGrid.h
+++ b/browserGrid.h
@@ -8,6 +8,7 @@
#include "plexgdm.h"
#include "PlexServer.h"
#include "viewGridNavigator.h"
+#include "sdGenericViewElements.h"
//#include "viewHeader.h"
#include <libskindesignerapi/osdelements.h>
@@ -44,16 +45,14 @@ public:
plexclient::PlexServer *Server() { return m_pServer; }
};
-class cBrowserGrid : public cViewGridNavigator {
+class cBrowserGrid : public cViewGridNavigator, public cSdClock {
private:
//std::shared_ptr<cViewHeader> m_pViewHeader;
std::shared_ptr<skindesignerapi::cViewElement> m_pHeader;
std::shared_ptr<skindesignerapi::cViewElement> m_pBackground;
std::shared_ptr<skindesignerapi::cViewElement> m_pfooter;
std::shared_ptr<skindesignerapi::cViewElement> m_pInfopane;
- std::shared_ptr<skindesignerapi::cViewElement> m_pScrollbar;
- std::shared_ptr<skindesignerapi::cViewElement> m_pWatch;
- int m_lastsecond;
+
int m_viewEntryIndex;
bool m_redrawBackground;
@@ -73,8 +72,6 @@ private:
void DrawInfopane();
- void DrawScrollbar();
-
public:
cBrowserGrid(std::shared_ptr<skindesignerapi::cOsdView> rootView);
@@ -99,8 +96,6 @@ public:
void PrevTab();
- bool DrawTime();
-
virtual void Flush();
virtual void Clear();