diff options
author | David Robillard <d@drobilla.net> | 2016-07-08 16:13:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-08 16:13:52 -0400 |
commit | 7135ce7a402d90fc1312f861dda9009374a904ef (patch) | |
tree | a52d7b5005d1130a08d8ca1e4cf25db7cd5e8785 /src/Configuration.hpp | |
parent | da388743027dfec64dc7ad7f1b3927eb7ef62468 (diff) | |
download | patchage-7135ce7a402d90fc1312f861dda9009374a904ef.tar.gz patchage-7135ce7a402d90fc1312f861dda9009374a904ef.tar.bz2 patchage-7135ce7a402d90fc1312f861dda9009374a904ef.zip |
Add option to disable port sorting
Fixes #1082
Diffstat (limited to 'src/Configuration.hpp')
-rw-r--r-- | src/Configuration.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Configuration.hpp b/src/Configuration.hpp index 3907510..127a4a8 100644 --- a/src/Configuration.hpp +++ b/src/Configuration.hpp @@ -65,6 +65,9 @@ public: bool get_show_messages() const { return _show_messages; } void set_show_messages(bool show_messages) { _show_messages = show_messages; } + bool get_sort_ports() const { return _sort_ports; } + void set_sort_ports(bool sort_ports) { _sort_ports = sort_ports; } + int get_messages_height() const { return _messages_height; } void set_messages_height(int height) { _messages_height = height; } @@ -96,10 +99,11 @@ private: Coord _window_size; float _zoom; float _font_size; + int _messages_height; bool _show_toolbar; bool _sprung_layout; bool _show_messages; - int _messages_height; + bool _sort_ports; }; #endif // PATCHAGE_CONFIGURATION_HPP |