diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-21 15:16:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-21 15:16:18 +0100 |
| commit | cbd4450197a083bf58bda510e626f73ba583cb66 (patch) | |
| tree | 2be308772512539570beab36beab02bde72d6d4b /src/wx/fonts_dialog.h | |
| parent | 1013175d5f6adfa0e6a7442e4c9aebb893787748 (diff) | |
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.
Diffstat (limited to 'src/wx/fonts_dialog.h')
| -rw-r--r-- | src/wx/fonts_dialog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h index e251ddab1..6c6873ea3 100644 --- a/src/wx/fonts_dialog.h +++ b/src/wx/fonts_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2016 Carl Hetherington <cth@carlh.net> + Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -25,11 +25,12 @@ #include <boost/filesystem.hpp> class Content; +class CaptionContent; class FontsDialog : public wxDialog { public: - FontsDialog (wxWindow* parent, boost::shared_ptr<Content>); + FontsDialog (wxWindow* parent, boost::shared_ptr<Content>, boost::shared_ptr<CaptionContent> caption); private: void setup (); @@ -38,6 +39,7 @@ private: void edit_clicked (); boost::weak_ptr<Content> _content; + boost::weak_ptr<CaptionContent> _caption; wxListCtrl* _fonts; wxButton* _edit; }; |
