X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fhints_dialog.h;h=1fac9d11e63afa43ac33d65d52bc30e4089be00b;hb=981100bbff6883ff024b41d4b62e00b2ab8caec4;hp=c02cc8c85b0e196f71610e0718fe957f9b5594f6;hpb=b74bc6135a6a690bf5674638a8bea56e5580fd08;p=dcpomatic.git diff --git a/src/wx/hints_dialog.h b/src/wx/hints_dialog.h index c02cc8c85..1fac9d11e 100644 --- a/src/wx/hints_dialog.h +++ b/src/wx/hints_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -18,12 +18,14 @@ */ +#include "lib/types.h" #include #include #include class wxRichTextCtrl; class Film; +class Hints; class HintsDialog : public wxDialog { @@ -31,12 +33,23 @@ public: HintsDialog (wxWindow* parent, boost::weak_ptr, bool ok); private: - void film_changed (); + void film_change (ChangeType); + void film_content_change (ChangeType type); void shut_up (wxCommandEvent& ev); + void update (); + void hint (std::string text); + void pulse (); + void finished (); + void progress (std::string m); boost::weak_ptr _film; + wxGauge* _gauge; + wxStaticText* _gauge_message; wxRichTextCtrl* _text; + boost::scoped_ptr _hints; + std::list _current; + bool _finished; - boost::signals2::scoped_connection _film_changed_connection; - boost::signals2::scoped_connection _film_content_changed_connection; + boost::signals2::scoped_connection _film_change_connection; + boost::signals2::scoped_connection _film_content_change_connection; };