Updated zh_CN translation from Danbo Song.
[dcpomatic.git] / src / wx / audio_mapping_view.h
index 873fc5c93800fd74d5e761165fdbd712ecb49b9f..c568954a0902b359e20670025ea20991d81a49fe 100644 (file)
@@ -25,7 +25,7 @@
 
 
 #include "lib/audio_mapping.h"
-#include "lib/types.h"
+#include "lib/named_channel.h"
 #include <dcp/warnings.h>
 LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
@@ -86,15 +86,14 @@ private:
        void paint_row_lines (wxDC& dc);
        void paint_indicators (wxDC& dc);
        void size (wxSizeEvent &);
-       void scroll ();
        void left_down (wxMouseEvent &);
        void right_down (wxMouseEvent &);
        void motion (wxMouseEvent &);
-       void mouse_wheel (wxMouseEvent &);
        boost::optional<std::pair<NamedChannel, NamedChannel>> mouse_event_to_channels (wxMouseEvent& ev) const;
        boost::optional<std::string> mouse_event_to_input_group_name (wxMouseEvent& ev) const;
        void setup ();
        wxString input_channel_name_with_group (NamedChannel const& n) const;
+       int left_width() const;
 
        void set_gain_from_menu (double linear);
        void edit ();
@@ -102,9 +101,6 @@ private:
        AudioMapping _map;
 
        wxMenu* _menu = nullptr;
-       wxPanel* _body = nullptr;
-       wxScrollBar* _vertical_scroll = nullptr;
-       wxScrollBar* _horizontal_scroll = nullptr;
        int _menu_input;
        int _menu_output;