diff options
Diffstat (limited to 'detailView.h')
-rw-r--r-- | detailView.h | 60 |
1 files changed, 34 insertions, 26 deletions
diff --git a/detailView.h b/detailView.h index 67f3234..bf0eb33 100644 --- a/detailView.h +++ b/detailView.h @@ -8,34 +8,42 @@ #include <libskindesignerapi/osdelements.h> #include <libskindesignerapi/skindesignerosdbase.h> -class cDetailView : public cViewGridNavigator -{ +class cDetailView : public cViewGridNavigator { public: - cDetailView(std::shared_ptr<skindesignerapi::cOsdView> detailView, plexclient::cVideo *video); - - void Draw(); - virtual void Flush(); - virtual eOSState NavigateSelect(); - virtual eOSState NavigateBack(); - plexclient::cVideo* GetVideo() { return m_pVideo; }; - virtual void Clear(); - bool DrawTime(); - + cDetailView(std::shared_ptr<skindesignerapi::cOsdView> detailView, plexclient::cVideo *video); + + void Draw(); + + virtual void Flush(); + + virtual eOSState NavigateSelect(); + + virtual eOSState NavigateBack(); + + plexclient::cVideo *GetVideo() { return m_pVideo; }; + + virtual void Clear(); + + bool DrawTime(); + 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; - std::shared_ptr<skindesignerapi::cViewElement> m_pWatch; - - plexclient::cVideo *m_pVideo; - bool m_drawall; - int m_lastsecond; - - void DrawBackground(); - void DrawFooter(); - void DrawInfo(); - void DrawScrollbar(); + 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; + std::shared_ptr<skindesignerapi::cViewElement> m_pWatch; + + plexclient::cVideo *m_pVideo; + bool m_drawall; + int m_lastsecond; + + void DrawBackground(); + + void DrawFooter(); + + void DrawInfo(); + + void DrawScrollbar(); }; #endif // CDETAILVIEW_H |