Supporters update.
[dcpomatic.git] / src / wx / audio_mapping_view.h
index aad152a622172be69fb25d9f82adc9e542ad468e..c568954a0902b359e20670025ea20991d81a49fe 100644 (file)
 
 /** @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 <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 #include <boost/signals2.hpp>
 
 
@@ -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<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 ();
@@ -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;