diff options
author | David Robillard <d@drobilla.net> | 2016-03-14 21:39:55 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-03-14 21:39:55 -0400 |
commit | 2d4a4dbec4ca321baee46f640429fc52b451eb47 (patch) | |
tree | fe36cf8b28008a36888ae8f87a4809069c4fc405 /src/gui/PortMenu.hpp | |
parent | 9da2840ce1fc9de08d3bd052fc535c925416c45a (diff) | |
download | ingen-2d4a4dbec4ca321baee46f640429fc52b451eb47.tar.gz ingen-2d4a4dbec4ca321baee46f640429fc52b451eb47.tar.bz2 ingen-2d4a4dbec4ca321baee46f640429fc52b451eb47.zip |
Enable graph port menu items in external view
Diffstat (limited to 'src/gui/PortMenu.hpp')
-rw-r--r-- | src/gui/PortMenu.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/PortMenu.hpp b/src/gui/PortMenu.hpp index c3460a2a..db567980 100644 --- a/src/gui/PortMenu.hpp +++ b/src/gui/PortMenu.hpp @@ -41,7 +41,7 @@ public: void init(App& app, SPtr<const Client::PortModel> port, - bool is_graph_port = false); + bool internal_graph_port = false); private: void on_menu_disconnect(); @@ -56,7 +56,8 @@ private: Gtk::MenuItem* _reset_range_menuitem; Gtk::MenuItem* _expose_menuitem; - bool _is_graph_port; + /// True iff this is a (flipped) port on a GraphPortModule in its graph + bool _internal_graph_port; }; } // namespace GUI |