diff options
author | David Robillard <d@drobilla.net> | 2007-03-25 03:01:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-03-25 03:01:32 +0000 |
commit | f9c827a15fda4a0ce2ca3cfdc64ec1448385f149 (patch) | |
tree | 2a84884814207da7c5ec8f8d7b6902b8fc979910 /src/gui/NodeView.hpp | |
parent | 2bcf45ee765a733cd5b0a606ed44a7d311eb9783 (diff) | |
download | machina-f9c827a15fda4a0ce2ca3cfdc64ec1448385f149.tar.gz machina-f9c827a15fda4a0ce2ca3cfdc64ec1448385f149.tar.bz2 machina-f9c827a15fda4a0ce2ca3cfdc64ec1448385f149.zip |
Added node properties window.
Improved learning algorithm.
git-svn-id: http://svn.drobilla.net/lad/machina@375 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeView.hpp')
-rw-r--r-- | src/gui/NodeView.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/NodeView.hpp b/src/gui/NodeView.hpp index ae5c34e..4641787 100644 --- a/src/gui/NodeView.hpp +++ b/src/gui/NodeView.hpp @@ -24,8 +24,9 @@ class NodeView : public LibFlowCanvas::Ellipse { public: - NodeView(SharedPtr<Machina::Node> node, + NodeView(Gtk::Window* window, SharedPtr<LibFlowCanvas::FlowCanvas> canvas, + SharedPtr<Machina::Node> node, const std::string& name, double x, double y); @@ -35,8 +36,10 @@ public: void update_state(); private: + void on_click(GdkEventButton* ev); void on_double_click(GdkEventButton* ev); + Gtk::Window* _window; SharedPtr<Machina::Node> _node; uint32_t _old_color; }; |