summaryrefslogtreecommitdiff
path: root/src/wx/audio_mapping_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-19 21:19:15 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-19 21:19:17 +0100
commitf568d196a5bbf12726261afdfb92a40e0e0e4c8b (patch)
tree681b61890ff234278c6c53590f08f2494df43347 /src/wx/audio_mapping_view.h
parentcad77c03245601a05511c24fe02b90a26f252c2d (diff)
Remove scrolling in AudioMappingView.
In the audio panel it was a bit weird to have part of the panel scrollable when the whole video panel is. Now both video and audio panels scroll. You lose the "always there" view of the audio processing summary but I think this is outweighed by the scrolling simplicity. I also suspect it may make things behave better on "short" screens.
Diffstat (limited to 'src/wx/audio_mapping_view.h')
-rw-r--r--src/wx/audio_mapping_view.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wx/audio_mapping_view.h b/src/wx/audio_mapping_view.h
index 70a226392..8c1a2d8ba 100644
--- a/src/wx/audio_mapping_view.h
+++ b/src/wx/audio_mapping_view.h
@@ -86,11 +86,9 @@ 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 ();
@@ -102,9 +100,6 @@ private:
AudioMapping _map;
wxMenu* _menu = nullptr;
- wxPanel* _body = nullptr;
- wxScrollBar* _vertical_scroll = nullptr;
- wxScrollBar* _horizontal_scroll = nullptr;
int _menu_input;
int _menu_output;