diff options
author | chriszero <zerov83@gmail.com> | 2016-04-03 20:01:36 +0200 |
---|---|---|
committer | Christian <zerov83@gmail.com> | 2016-04-03 20:01:36 +0200 |
commit | 82d13a0734c8a11347d50fcc5ad341c8eb1b7a43 (patch) | |
tree | bddcb812134c0e56cdc04d602c2252031a3f49bb /detailView.h | |
parent | 6fc296295f0579d730a61070c40d5e05a34be787 (diff) | |
download | vdr-plugin-plex-82d13a0734c8a11347d50fcc5ad341c8eb1b7a43.tar.gz vdr-plugin-plex-82d13a0734c8a11347d50fcc5ad341c8eb1b7a43.tar.bz2 |
Removed some duplicate code.
Diffstat (limited to 'detailView.h')
-rw-r--r-- | detailView.h | 10 |
1 files changed, 2 insertions, 8 deletions
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 <libskindesignerapi/osdelements.h> #include <libskindesignerapi/skindesignerosdbase.h> -class cDetailView : public cViewGridNavigator { +class cDetailView : public cViewGridNavigator, public cSdClock { public: cDetailView(std::shared_ptr<skindesignerapi::cOsdView> detailView, plexclient::cVideo *video); @@ -24,26 +25,19 @@ public: 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(); }; #endif // CDETAILVIEW_H |