diff options
author | David Robillard <d@drobilla.net> | 2015-02-08 16:03:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-08 16:03:54 +0000 |
commit | 9e108b92c62ad48d5690e5c207e224b7da49bd49 (patch) | |
tree | 4f99ff2f1b7e0b1640e2b481d8b23d30d8e80756 /src/Configuration.cpp | |
parent | f32b5d18e947ab276e7c0f345599b2f5f8c634c2 (diff) | |
download | patchage-9e108b92c62ad48d5690e5c207e224b7da49bd49.tar.gz patchage-9e108b92c62ad48d5690e5c207e224b7da49bd49.tar.bz2 patchage-9e108b92c62ad48d5690e5c207e224b7da49bd49.zip |
Style messages pane to match canvas.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5545 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Configuration.cpp')
-rw-r--r-- | src/Configuration.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 5d84e86..0fbafe2 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -41,6 +41,8 @@ Configuration::Configuration() , _zoom(1.0) , _font_size(12.0) , _show_toolbar(true) + , _show_messages(false) + , _messages_height(0) { _port_colors[JACK_AUDIO] = _default_port_colors[JACK_AUDIO] = 0x3E5E00FF; _port_colors[JACK_MIDI] = _default_port_colors[JACK_MIDI] = 0x650300FF; @@ -188,6 +190,10 @@ Configuration::load() file >> _show_toolbar; } else if (key == "sprung_layout") { file >> _sprung_layout; + } else if (key == "show_messages") { + file >> _show_messages; + } else if (key == "messages_height") { + file >> _messages_height; } else if (key == "port_color") { std::string type_name; uint32_t rgba; @@ -286,6 +292,8 @@ Configuration::save() file << "font_size " << _font_size << std::endl; file << "show_toolbar " << _show_toolbar << std::endl; file << "sprung_layout " << _sprung_layout << std::endl; + file << "show_messages " << _show_messages << std::endl; + file << "messages_height " << _messages_height << std::endl; file << std::hex << std::uppercase; for (int i = 0; i < N_PORT_TYPES; ++i) { |