From 6fc296295f0579d730a61070c40d5e05a34be787 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 2 Apr 2016 23:39:03 +0200 Subject: Code reformating --- detailView.h | 60 ++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 34 insertions(+), 26 deletions(-) (limited to 'detailView.h') diff --git a/detailView.h b/detailView.h index 67f3234..bf0eb33 100644 --- a/detailView.h +++ b/detailView.h @@ -8,34 +8,42 @@ #include #include -class cDetailView : public cViewGridNavigator -{ +class cDetailView : public cViewGridNavigator { public: - cDetailView(std::shared_ptr 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 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 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(); + 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