summaryrefslogtreecommitdiff
path: root/src/wx/audio_mapping_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-31 20:22:36 +0200
committerCarl Hetherington <cth@carlh.net>2021-03-31 20:39:44 +0200
commitf1d8d450e31a72dea58a21df8da533456f18911b (patch)
treea1c00e9a57b2e2dd7ff4b3298f5b24e8956060e2 /src/wx/audio_mapping_view.h
parentd76898b4967eb5224a7711c94e760457a4a2d2c1 (diff)
Allow variable column widths on the auto mapping view to fix #1945.
Diffstat (limited to 'src/wx/audio_mapping_view.h')
-rw-r--r--src/wx/audio_mapping_view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/audio_mapping_view.h b/src/wx/audio_mapping_view.h
index efd5bfcd2..0e3cc0af8 100644
--- a/src/wx/audio_mapping_view.h
+++ b/src/wx/audio_mapping_view.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013-2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -115,6 +115,8 @@ private:
std::vector<NamedChannel> _input_channels;
std::vector<NamedChannel> _output_channels;
std::vector<Group> _input_groups;
+ std::vector<int> _column_widths;
+ int _column_widths_total = 0;
boost::optional<std::pair<NamedChannel, NamedChannel>> _last_tooltip_channels;
};