summaryrefslogtreecommitdiffstats
path: root/src/CanvasModule.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-29 19:33:18 +0100
committerDavid Robillard <d@drobilla.net>2020-11-29 19:39:48 +0100
commit9eaeb0bbca7d3f295664a3fc96660a8fe206483c (patch)
tree744a19d80c86b4149182b17e3757c9bdd8587d64 /src/CanvasModule.hpp
parentdf55ba49276c8fa172979dbc497339ec81c97add (diff)
downloadpatchage-9eaeb0bbca7d3f295664a3fc96660a8fe206483c.tar.gz
patchage-9eaeb0bbca7d3f295664a3fc96660a8fe206483c.tar.bz2
patchage-9eaeb0bbca7d3f295664a3fc96660a8fe206483c.zip
Remove more dead code
Diffstat (limited to 'src/CanvasModule.hpp')
-rw-r--r--src/CanvasModule.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/CanvasModule.hpp b/src/CanvasModule.hpp
index c5ed699..3b65b67 100644
--- a/src/CanvasModule.hpp
+++ b/src/CanvasModule.hpp
@@ -26,8 +26,9 @@ PATCHAGE_DISABLE_GANV_WARNINGS
#include "ganv/Port.hpp"
PATCHAGE_RESTORE_WARNINGS
-#include <gtkmm/menu_elems.h>
+#include <gtkmm/menu.h>
+#include <memory>
#include <string>
namespace patchage {
@@ -44,8 +45,8 @@ public:
const std::string& name,
SignalDirection type,
ClientID id,
- double x = 0,
- double y = 0);
+ double x = 0.0,
+ double y = 0.0);
CanvasModule(const CanvasModule&) = delete;
CanvasModule& operator=(const CanvasModule&) = delete;
@@ -55,17 +56,16 @@ public:
~CanvasModule() override;
- void split();
- void join();
-
bool show_menu(GdkEventButton* ev);
void update_menu();
+ void split();
+ void join();
+ void disconnect_all();
+
CanvasPort* get_port(const PortID& id);
void load_location();
- void menu_disconnect_all();
- void show_dialog() {}
void store_location(double x, double y);
SignalDirection type() const { return _type; }