From 82d13a0734c8a11347d50fcc5ad341c8eb1b7a43 Mon Sep 17 00:00:00 2001 From: chriszero Date: Sun, 3 Apr 2016 20:01:36 +0200 Subject: Removed some duplicate code. --- detailView.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'detailView.h') diff --git a/detailView.h b/detailView.h index bf0eb33..feb73e2 100644 --- a/detailView.h +++ b/detailView.h @@ -5,10 +5,11 @@ #include "PVideo.h" #include "tokendefinitions.h" +#include "sdGenericViewElements.h" #include #include -class cDetailView : public cViewGridNavigator { +class cDetailView : public cViewGridNavigator, public cSdClock { public: cDetailView(std::shared_ptr detailView, plexclient::cVideo *video); @@ -24,26 +25,19 @@ public: virtual void Clear(); - bool DrawTime(); - private: std::shared_ptr m_pBackground; std::shared_ptr m_pfooter; std::shared_ptr m_pInfo; - std::shared_ptr m_pScrollbar; - std::shared_ptr m_pWatch; plexclient::cVideo *m_pVideo; bool m_drawall; - int m_lastsecond; void DrawBackground(); void DrawFooter(); void DrawInfo(); - - void DrawScrollbar(); }; #endif // CDETAILVIEW_H -- cgit v1.2.3