summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_appearance_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-08 15:00:58 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-08 15:00:58 +0000
commit3b932abd0c7634483911e1d5361e12b2d094ae6f (patch)
treed187652362c0d056222a03538a4812282cda7896 /src/wx/subtitle_appearance_dialog.h
parent7ddba2932f3e577ecde3324a2094037252bdde18 (diff)
Add appearance dialog for SubRip subtitles.
Diffstat (limited to 'src/wx/subtitle_appearance_dialog.h')
-rw-r--r--src/wx/subtitle_appearance_dialog.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/wx/subtitle_appearance_dialog.h b/src/wx/subtitle_appearance_dialog.h
new file mode 100644
index 000000000..f4fe307d2
--- /dev/null
+++ b/src/wx/subtitle_appearance_dialog.h
@@ -0,0 +1,40 @@
+/*
+ Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#include "table_dialog.h"
+#include <boost/shared_ptr.hpp>
+
+class wxCheckBox;
+class wxColourPickerCtrl;
+class SubRipContent;
+
+class SubtitleAppearanceDialog : public TableDialog
+{
+public:
+ SubtitleAppearanceDialog (wxWindow* parent, boost::shared_ptr<SubRipContent> content);
+
+ void apply ();
+
+private:
+ wxColourPickerCtrl* _colour;
+ wxCheckBox* _outline;
+ wxColourPickerCtrl* _outline_colour;
+
+ boost::shared_ptr<SubRipContent> _content;
+};