summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 16:45:38 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 17:39:10 +0100
commite2982b5f760a862e091992dc0424b2f78c6b724b (patch)
treea18732fb244aab23317d311622f80902ae38a2da /src/PatchageModule.hpp
parent8889e2c2d03a414c9e917a598ebfb213c5a28503 (diff)
downloadpatchage-e2982b5f760a862e091992dc0424b2f78c6b724b.tar.gz
patchage-e2982b5f760a862e091992dc0424b2f78c6b724b.tar.bz2
patchage-e2982b5f760a862e091992dc0424b2f78c6b724b.zip
Rename ModuleType to SignalDirection
Diffstat (limited to 'src/PatchageModule.hpp')
-rw-r--r--src/PatchageModule.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp
index 6953124..d55e381 100644
--- a/src/PatchageModule.hpp
+++ b/src/PatchageModule.hpp
@@ -40,7 +40,7 @@ class PatchageModule : public Ganv::Module
public:
PatchageModule(Patchage* app,
const std::string& name,
- ModuleType type,
+ SignalDirection type,
ClientID id,
double x = 0,
double y = 0);
@@ -66,18 +66,18 @@ public:
void show_dialog() {}
void store_location(double x, double y);
- ModuleType type() const { return _type; }
+ SignalDirection type() const { return _type; }
ClientID id() const { return _id; }
const std::string& name() const { return _name; }
protected:
bool on_event(GdkEvent* ev) override;
- Patchage* _app;
- Gtk::Menu* _menu;
- std::string _name;
- ModuleType _type;
- ClientID _id;
+ Patchage* _app;
+ Gtk::Menu* _menu;
+ std::string _name;
+ SignalDirection _type;
+ ClientID _id;
};
#endif // PATCHAGE_PATCHAGEMODULE_HPP