summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchCanvas.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchCanvas.hpp')
-rw-r--r--src/gui/PatchCanvas.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp
index a301f680..03018f5a 100644
--- a/src/gui/PatchCanvas.hpp
+++ b/src/gui/PatchCanvas.hpp
@@ -81,7 +81,7 @@ public:
void paste();
void select_all();
- void show_menu(GdkEvent* event);
+ void show_menu(bool position, unsigned button, uint32_t time);
bool canvas_event(GdkEvent* event);
@@ -107,6 +107,8 @@ private:
void build_internal_menu();
void build_classless_menu();
+ void auto_menu_position(int& x, int& y, bool& push_in);
+
#ifdef HAVE_SLV2
typedef std::multimap<const std::string, SLV2PluginClass> LV2Children;
void build_plugin_menu();