diff options
author | David Robillard <d@drobilla.net> | 2014-03-31 02:28:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-03-31 02:28:26 +0000 |
commit | 1f22a1e6dce27a9ce1b4ccd434be371994ae14e6 (patch) | |
tree | ee79055878fd8b2b12ea3e90ed2e8d1ba12ebf3c /src/PatchageModule.cpp | |
parent | 59780bd8f9abf376a79ee192325ae868df7d1b5a (diff) | |
download | patchage-1f22a1e6dce27a9ce1b4ccd434be371994ae14e6.tar.gz patchage-1f22a1e6dce27a9ce1b4ccd434be371994ae14e6.tar.bz2 patchage-1f22a1e6dce27a9ce1b4ccd434be371994ae14e6.zip |
Make port colours configurable.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5350 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r-- | src/PatchageModule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp index 0d2d77b..2cdc977 100644 --- a/src/PatchageModule.cpp +++ b/src/PatchageModule.cpp @@ -106,7 +106,7 @@ PatchageModule::load_location() { Coord loc; - if (_app->configuration()->get_module_location(_name, _type, loc)) + if (_app->conf()->get_module_location(_name, _type, loc)) move_to(loc.x, loc.y); else move_to(20 + rand() % 640, @@ -117,14 +117,14 @@ void PatchageModule::store_location(double x, double y) { Coord loc(get_x(), get_y()); - _app->configuration()->set_module_location(_name, _type, loc); + _app->conf()->set_module_location(_name, _type, loc); } void PatchageModule::split() { assert(_type == InputOutput); - _app->configuration()->set_module_split(_name, true); + _app->conf()->set_module_split(_name, true); _app->refresh(); } @@ -132,7 +132,7 @@ void PatchageModule::join() { assert(_type != InputOutput); - _app->configuration()->set_module_split(_name, false); + _app->conf()->set_module_split(_name, false); _app->refresh(); } |