From 9e108b92c62ad48d5690e5c207e224b7da49bd49 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Feb 2015 16:03:54 +0000 Subject: Style messages pane to match canvas. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5545 a436a847-0d15-0410-975c-d299462d15a1 --- src/Configuration.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Configuration.cpp') 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) { -- cgit v1.2.1