From 8b9a504615299660251de084d227b1ba183f75ce Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Apr 2014 15:56:55 +0000 Subject: Add support for sprung layout to Patchage. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5379 a436a847-0d15-0410-975c-d299462d15a1 --- src/Configuration.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Configuration.cpp') diff --git a/src/Configuration.cpp b/src/Configuration.cpp index 2ed00f7..74bcb25 100644 --- a/src/Configuration.cpp +++ b/src/Configuration.cpp @@ -182,6 +182,8 @@ Configuration::load() file >> _font_size; } else if (key == "show_toolbar") { file >> _show_toolbar; + } else if (key == "sprung_layout") { + file >> _sprung_layout; } else if (key == "port_color") { std::string type_name; uint32_t rgba; @@ -279,6 +281,7 @@ Configuration::save() file << "zoom_level " << _zoom << std::endl; file << "font_size " << _font_size << std::endl; file << "show_toolbar " << _show_toolbar << std::endl; + file << "sprung_layout " << _sprung_layout << std::endl; file << std::hex << std::uppercase; for (int i = 0; i < N_PORT_TYPES; ++i) { -- cgit v1.2.1