X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Faudio_mapping_view.h;h=c568954a0902b359e20670025ea20991d81a49fe;hb=1695ad102d21c601592e8895d8b402ceebf4f1b0;hp=aad152a622172be69fb25d9f82adc9e542ad468e;hpb=c7f07398e13e8d37978595a3f5fa30a1a064f188;p=dcpomatic.git diff --git a/src/wx/audio_mapping_view.h b/src/wx/audio_mapping_view.h index aad152a62..c568954a0 100644 --- a/src/wx/audio_mapping_view.h +++ b/src/wx/audio_mapping_view.h @@ -21,16 +21,15 @@ /** @file src/wx/audio_mapping_view.h * @brief AudioMappingView class. - * */ #include "lib/audio_mapping.h" -#include "lib/types.h" -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS +#include "lib/named_channel.h" +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS #include @@ -87,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 (); @@ -103,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;