summaryrefslogtreecommitdiff
path: root/detailView.h
diff options
context:
space:
mode:
Diffstat (limited to 'detailView.h')
-rw-r--r--detailView.h30
1 files changed, 27 insertions, 3 deletions
diff --git a/detailView.h b/detailView.h
index d72e6d4..cc5f156 100644
--- a/detailView.h
+++ b/detailView.h
@@ -2,13 +2,37 @@
#define CDETAILVIEW_H
#include "viewGridNavigator.h"
+#include "PVideo.h"
-class cDetailView
+#include "tokendefinitions.h"
+#include <libskindesignerapi/osdelements.h>
+#include <libskindesignerapi/skindesignerosdbase.h>
+
+class cDetailView : public cViewGridNavigator
{
public:
- cDetailView(skindesignerapi::cOsdView *detailView, const cGridElement *element);
- ~cDetailView();
+ cDetailView(std::shared_ptr<skindesignerapi::cOsdView> detailView, plexclient::Video *video);
+
+ void Draw();
+ void Flush();
+ virtual eOSState NavigateSelect();
+ virtual eOSState NavigateBack();
+ plexclient::Video* GetVideo() { return m_pVideo; };
+ virtual void Clear();
+
+private:
+ std::shared_ptr<skindesignerapi::cViewElement> m_pBackground;
+ std::shared_ptr<skindesignerapi::cViewElement> m_pfooter;
+ std::shared_ptr<skindesignerapi::cViewElement> m_pInfo;
+ std::shared_ptr<skindesignerapi::cViewElement> m_pScrollbar;
+
+ plexclient::Video *m_pVideo;
+ bool m_drawall;
+ void DrawBackground();
+ void DrawFooter();
+ void DrawInfo();
+ void DrawScrollbar();
};
#endif // CDETAILVIEW_H