Make burnt-in subtitle outline width configurable (#940).
[dcpomatic.git] / src / wx / text_subtitle_appearance_dialog.h
index 381b36ec7f63c4d765b7083c7c7bdfa43bea421f..c191cc3c01d052c73bfbf56ca1fc7d9a8b79d5e6 100644 (file)
@@ -21,6 +21,7 @@
 #include "table_dialog.h"
 #include "timecode.h"
 #include <boost/shared_ptr.hpp>
+#include <boost/signals2.hpp>
 
 class wxRadioButton;
 class wxColourPickerCtrl;
@@ -34,11 +35,20 @@ public:
        void apply ();
 
 private:
+       void setup_sensitivity ();
+
        wxColourPickerCtrl* _colour;
        wxChoice* _effect;
        wxColourPickerCtrl* _effect_colour;
        Timecode<ContentTime>* _fade_in;
        Timecode<ContentTime>* _fade_out;
+       wxSpinCtrl* _outline_width;
 
        boost::shared_ptr<Content> _content;
+
+       boost::signals2::scoped_connection _content_connection;
+
+       static int const NONE;
+       static int const OUTLINE;
+       static int const SHADOW;
 };