diff options
author | David Robillard <d@drobilla.net> | 2009-12-31 18:27:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-12-31 18:27:20 +0000 |
commit | 3dded8a655b6cad1925f160cb1012b8334e00c3e (patch) | |
tree | 5d743f58c6494ea7e5ed4010f9016c7d3c3f7665 /src/gui/PatchWindow.hpp | |
parent | c11b1bd6fe15f281c5e6b1ab2109590c17e739e9 (diff) | |
download | ingen-3dded8a655b6cad1925f160cb1012b8334e00c3e.tar.gz ingen-3dded8a655b6cad1925f160cb1012b8334e00c3e.tar.bz2 ingen-3dded8a655b6cad1925f160cb1012b8334e00c3e.zip |
Various fixes related to port values and metadata (fix ticket #459 among other things).
Fix jitterey behaviour of port controls (on module) while dragging.
Update value in status bar while dragging port slider (on module).
Update plugin data (e.g. port control range) if the plugin is sent to the
client after nodes that are instances of it (i.e. more robust plugin state
tracking via merging like with objects).
Correctly save and restore port values (ticket #459).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2327 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchWindow.hpp')
-rw-r--r-- | src/gui/PatchWindow.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/PatchWindow.hpp b/src/gui/PatchWindow.hpp index 0d997ab7..82afa7ad 100644 --- a/src/gui/PatchWindow.hpp +++ b/src/gui/PatchWindow.hpp @@ -21,6 +21,7 @@ #include <gtkmm.h> #include <libglademm/xml.h> #include <libglademm.h> +#include "raul/Atom.hpp" #include "raul/SharedPtr.hpp" #include "Window.hpp" @@ -66,6 +67,8 @@ public: Gtk::MenuItem* menu_view_control_window() { return _menu_view_control_window; } + void show_port_status(PortModel* model, const Raul::Atom& value); + protected: void on_show(); void on_hide(); @@ -73,9 +76,9 @@ protected: bool on_key_release_event(GdkEventKey* event); private: - void patch_port_added(SharedPtr<PortModel> port); void patch_port_removed(SharedPtr<PortModel> port); + void show_status(ObjectModel* model); void object_entered(ObjectModel* model); void object_left(ObjectModel* model); void editable_changed(bool editable); |