diff options
author | David Robillard <d@drobilla.net> | 2014-01-24 16:23:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-24 16:23:28 +0000 |
commit | 5595f3a3e43acbda31cb33e7debbdaa0f43cd4b4 (patch) | |
tree | 3c872eacdd6e7e2cfa136f0990532418d5e5a3d1 /ingen | |
parent | 44087814a1013d93f0bf261f3bea0c9068cf9409 (diff) | |
download | ingen-5595f3a3e43acbda31cb33e7debbdaa0f43cd4b4.tar.gz ingen-5595f3a3e43acbda31cb33e7debbdaa0f43cd4b4.tar.bz2 ingen-5595f3a3e43acbda31cb33e7debbdaa0f43cd4b4.zip |
Order scale points by value (fix #951).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5323 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/client/PluginModel.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ingen/client/PluginModel.hpp b/ingen/client/PluginModel.hpp index 2819c8cd..016e444e 100644 --- a/ingen/client/PluginModel.hpp +++ b/ingen/client/PluginModel.hpp @@ -61,8 +61,7 @@ public: std::string human_name() const; std::string port_human_name(uint32_t index) const; - typedef std::pair<float, std::string> ScalePoint; - typedef std::list<ScalePoint> ScalePoints; + typedef std::map<float, std::string> ScalePoints; ScalePoints port_scale_points(uint32_t i) const; static LilvWorld* lilv_world() { return _lilv_world; } |