diff options
author | David Robillard <d@drobilla.net> | 2021-01-02 14:02:44 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-02 14:02:44 +0100 |
commit | 663a5d01b1931b97370ed8feff3ae229a9cc7ea4 (patch) | |
tree | aba74794cb45f06734bd80bbf53d79f947008e54 /src/CanvasModule.hpp | |
parent | 1936aace80b5594078d874e9b661a9a91e461279 (diff) | |
download | patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.gz patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.tar.bz2 patchage-663a5d01b1931b97370ed8feff3ae229a9cc7ea4.zip |
Format all code with clang-format
Diffstat (limited to 'src/CanvasModule.hpp')
-rw-r--r-- | src/CanvasModule.hpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/CanvasModule.hpp b/src/CanvasModule.hpp index 3361fbb..b8c9523 100644 --- a/src/CanvasModule.hpp +++ b/src/CanvasModule.hpp @@ -43,45 +43,45 @@ class Patchage; class CanvasModule : public Ganv::Module { public: - CanvasModule(Patchage* app, - const std::string& name, - SignalDirection type, - ClientID id, - double x = 0.0, - double y = 0.0); + CanvasModule(Patchage* app, + const std::string& name, + SignalDirection type, + ClientID id, + double x = 0.0, + double y = 0.0); - CanvasModule(const CanvasModule&) = delete; - CanvasModule& operator=(const CanvasModule&) = delete; + CanvasModule(const CanvasModule&) = delete; + CanvasModule& operator=(const CanvasModule&) = delete; - CanvasModule(CanvasModule&&) = delete; - CanvasModule& operator=(CanvasModule&&) = delete; + CanvasModule(CanvasModule&&) = delete; + CanvasModule& operator=(CanvasModule&&) = delete; - ~CanvasModule() override; + ~CanvasModule() override; - bool show_menu(GdkEventButton* ev); - void update_menu(); + bool show_menu(GdkEventButton* ev); + void update_menu(); - void split(); - void join(); - void disconnect_all(); + void split(); + void join(); + void disconnect_all(); - CanvasPort* get_port(const PortID& id); + CanvasPort* get_port(const PortID& id); - void load_location(); - void store_location(double x, double y); + void load_location(); + void store_location(double x, double y); - SignalDirection type() const { return _type; } - ClientID id() const { return _id; } - const std::string& name() const { return _name; } + SignalDirection type() const { return _type; } + ClientID id() const { return _id; } + const std::string& name() const { return _name; } protected: - bool on_event(GdkEvent* ev) override; + bool on_event(GdkEvent* ev) override; - Patchage* _app; - Gtk::Menu* _menu; - std::string _name; - SignalDirection _type; - ClientID _id; + Patchage* _app; + Gtk::Menu* _menu; + std::string _name; + SignalDirection _type; + ClientID _id; }; } // namespace patchage |