X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline_content_view.h;h=7087e9641b62cd7073792cfa97441ff89b0fabd8;hb=ac4ac42278546136357db0ede052faf5b80286e7;hp=e9b29485473b7eb64349c4548e4f0b5fa423e1cc;hpb=e0255a64d22440d718e5512f34a4f21f0d37a21b;p=dcpomatic.git diff --git a/src/wx/timeline_content_view.h b/src/wx/timeline_content_view.h index e9b294854..7087e9641 100644 --- a/src/wx/timeline_content_view.h +++ b/src/wx/timeline_content_view.h @@ -18,9 +18,11 @@ */ + #ifndef DCPOMATIC_TIMELINE_CONTENT_VIEW_H #define DCPOMATIC_TIMELINE_CONTENT_VIEW_H + #include "lib/change_signaller.h" #include "lib/types.h" #include "lib/warnings.h" @@ -32,6 +34,7 @@ DCPOMATIC_ENABLE_WARNINGS class Content; + /** @class TimelineContentView * @brief Parent class for views of pieces of content. */ @@ -40,7 +43,7 @@ class TimelineContentView : public TimelineView public: TimelineContentView (Timeline& tl, std::shared_ptr c); - dcpomatic::Rect bbox () const; + dcpomatic::Rect bbox () const override; void set_selected (bool s); bool selected () const; @@ -60,7 +63,7 @@ protected: private: - void do_paint (wxGraphicsContext* gc, std::list > overlaps); + void do_paint (wxGraphicsContext* gc, std::list> overlaps) override; int y_pos (int t) const; void content_change (ChangeType type, int p); @@ -70,6 +73,8 @@ private: boost::signals2::scoped_connection _content_connection; }; -typedef std::vector > TimelineContentViewList; + +typedef std::vector> TimelineContentViewList; + #endif