projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add accessor for butler.
[dcpomatic.git]
/
src
/
wx
/
fonts_dialog.h
diff --git
a/src/wx/fonts_dialog.h
b/src/wx/fonts_dialog.h
index e251ddab183d9412d958126c81bab8ae50b156f2..ba98e0963877b82ccf05982b4b81da161dd4ce99 100644
(file)
--- a/
src/wx/fonts_dialog.h
+++ b/
src/wx/fonts_dialog.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2014-201
6
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-201
8
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-25,11
+25,12
@@
#include <boost/filesystem.hpp>
class Content;
#include <boost/filesystem.hpp>
class Content;
+class TextContent;
class FontsDialog : public wxDialog
{
public:
class FontsDialog : public wxDialog
{
public:
- FontsDialog (wxWindow* parent, boost::shared_ptr<Content>);
+ FontsDialog (wxWindow* parent, boost::shared_ptr<Content>
, boost::shared_ptr<TextContent> caption
);
private:
void setup ();
private:
void setup ();
@@
-38,6
+39,7
@@
private:
void edit_clicked ();
boost::weak_ptr<Content> _content;
void edit_clicked ();
boost::weak_ptr<Content> _content;
+ boost::weak_ptr<TextContent> _caption;
wxListCtrl* _fonts;
wxButton* _edit;
};
wxListCtrl* _fonts;
wxButton* _edit;
};