Move _state_timer into VideoView.
[dcpomatic.git] / src / wx / audio_mapping_view.h
index a96757b5c986c49f049061e6a0734a74c34f08ce..aab6f64a61f7513f9dbf6d110b48711cd24014f9 100644 (file)
@@ -45,7 +45,7 @@
 class AudioMappingView : public wxPanel
 {
 public:
-       explicit AudioMappingView (wxWindow *);
+       explicit AudioMappingView (wxWindow *, wxString left_label, wxString from, wxString top_label, wxString to);
 
        void set (AudioMapping);
        void set_input_channels (std::vector<std::string> const & names);
@@ -90,6 +90,8 @@ private:
        boost::optional<std::pair<int, int> > mouse_event_to_channels (wxMouseEvent& ev) const;
        boost::optional<std::string> mouse_event_to_input_group_name (wxMouseEvent& ev) const;
        void setup ();
+       wxString safe_input_channel_name (int n) const;
+       wxString safe_output_channel_name (int n) const;
 
        void off ();
        void full ();
@@ -105,6 +107,11 @@ private:
        int _menu_input;
        int _menu_output;
 
+       wxString _left_label;
+       wxString _from;
+       wxString _top_label;
+       wxString _to;
+
        std::vector<std::string> _input_channels;
        std::vector<std::string> _output_channels;
        std::vector<Group> _input_groups;