diff options
author | David Robillard <d@drobilla.net> | 2012-05-01 06:46:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-01 06:46:55 +0000 |
commit | d76ab24976e452d02e114182b3a563eeb11e8785 (patch) | |
tree | 801e459ac10f176bcce8221d2cba17bf71a14f6c /src/gui/Port.hpp | |
parent | 7477318adc8de5244fc314939c296ae74605eaa5 (diff) | |
download | ingen-d76ab24976e452d02e114182b3a563eeb11e8785.tar.gz ingen-d76ab24976e452d02e114182b3a563eeb11e8785.tar.bz2 ingen-d76ab24976e452d02e114182b3a563eeb11e8785.zip |
Implement menu selector for enumeration ports (sort of address #780).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4308 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/Port.hpp')
-rw-r--r-- | src/gui/Port.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp index f0872e39..0e5ad508 100644 --- a/src/gui/Port.hpp +++ b/src/gui/Port.hpp @@ -19,6 +19,7 @@ #include <cassert> #include <string> +#include <gtkmm/menu.h> #include "ganv/Port.hpp" #include "raul/SharedPtr.hpp" #include "raul/WeakPtr.hpp" @@ -70,12 +71,14 @@ private: const std::string& name, bool flip = false); + Gtk::Menu* build_enum_menu(); PatchBox* get_patch_box() const; void property_changed(const Raul::URI& key, const Raul::Atom& value); void moved(); void on_value_changed(GVariant* value); + void on_scale_point_activated(float f); bool on_event(GdkEvent* ev); App& _app; |