X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Faudio_mapping_view.h;h=c568954a0902b359e20670025ea20991d81a49fe;hb=e7d8a70a16f972de2861bb1464dec6df3d26c579;hp=873fc5c93800fd74d5e761165fdbd712ecb49b9f;hpb=3c29aa6531a4046a8db72dcac81189eb8893233c;p=dcpomatic.git diff --git a/src/wx/audio_mapping_view.h b/src/wx/audio_mapping_view.h index 873fc5c93..c568954a0 100644 --- a/src/wx/audio_mapping_view.h +++ b/src/wx/audio_mapping_view.h @@ -25,7 +25,7 @@ #include "lib/audio_mapping.h" -#include "lib/types.h" +#include "lib/named_channel.h" #include LIBDCP_DISABLE_WARNINGS #include @@ -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> mouse_event_to_channels (wxMouseEvent& ev) const; boost::optional 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;