diff options
author | David Robillard <d@drobilla.net> | 2014-04-27 15:56:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-04-27 15:56:55 +0000 |
commit | 8b9a504615299660251de084d227b1ba183f75ce (patch) | |
tree | 2c93365e785ca04525a21dcab7121a73f4f4febd /src/Configuration.cpp | |
parent | 5eef54150269f6e569c2cda107ee1ade5ee8b0cc (diff) | |
download | patchage-8b9a504615299660251de084d227b1ba183f75ce.tar.gz patchage-8b9a504615299660251de084d227b1ba183f75ce.tar.bz2 patchage-8b9a504615299660251de084d227b1ba183f75ce.zip |
Add support for sprung layout to Patchage.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5379 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Configuration.cpp')
-rw-r--r-- | src/Configuration.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |