projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename _texture -> _video_texture.
[dcpomatic.git]
/
src
/
wx
/
fonts_dialog.h
diff --git
a/src/wx/fonts_dialog.h
b/src/wx/fonts_dialog.h
index e251ddab183d9412d958126c81bab8ae50b156f2..a77684cb9e6984e8fb3eecc2efb7683d93b8ca0e 100644
(file)
--- a/
src/wx/fonts_dialog.h
+++ b/
src/wx/fonts_dialog.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2014-20
16
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-20
21
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,18
+18,23
@@
*/
*/
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/listctrl.h>
#include <wx/wx.h>
#include <wx/listctrl.h>
#include <wx/wx.h>
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/filesystem.hpp>
#include <boost/filesystem.hpp>
+
class Content;
class Content;
+class TextContent;
+
class FontsDialog : public wxDialog
{
public:
class FontsDialog : public wxDialog
{
public:
- FontsDialog (wxWindow* parent,
boost::shared_ptr<Content>
);
+ FontsDialog (wxWindow* parent,
std::shared_ptr<Content>, std::shared_ptr<TextContent> caption
);
private:
void setup ();
private:
void setup ();
@@
-37,7
+42,8
@@
private:
void selection_changed ();
void edit_clicked ();
void selection_changed ();
void edit_clicked ();
- boost::weak_ptr<Content> _content;
+ std::weak_ptr<Content> _content;
+ std::weak_ptr<TextContent> _caption;
wxListCtrl* _fonts;
wxButton* _edit;
};
wxListCtrl* _fonts;
wxButton* _edit;
};