diff options
author | David Robillard <d@drobilla.net> | 2011-10-22 03:08:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-22 03:08:06 +0000 |
commit | ac1d6d135bda8d739fdb8bf564f89c38b664c097 (patch) | |
tree | d750da79dd88b64ab2a88cca1651c2a5a240bd72 /src/gui/PatchTreeWindow.hpp | |
parent | 143968e38cc2f058dd7c500e984904a39864d652 (diff) | |
download | ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.tar.gz ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.tar.bz2 ingen-ac1d6d135bda8d739fdb8bf564f89c38b664c097.zip |
De-singleton-ify GUI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3584 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchTreeWindow.hpp')
-rw-r--r-- | src/gui/PatchTreeWindow.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/PatchTreeWindow.hpp b/src/gui/PatchTreeWindow.hpp index 861913c2..1bc94030 100644 --- a/src/gui/PatchTreeWindow.hpp +++ b/src/gui/PatchTreeWindow.hpp @@ -43,7 +43,7 @@ public: PatchTreeWindow(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& xml); - void init(Client::ClientStore& store); + void init(App& app, Client::ClientStore& store); void new_object(SharedPtr<Client::ObjectModel> object); @@ -76,10 +76,11 @@ protected: Gtk::TreeModelColumn<SharedPtr<Client::PatchModel> > patch_model_col; }; - bool _enable_signal; + App* _app; PatchTreeModelColumns _patch_tree_columns; Glib::RefPtr<Gtk::TreeStore> _patch_treestore; Glib::RefPtr<Gtk::TreeSelection> _patch_tree_selection; + bool _enable_signal; }; /** Derived TreeView class to support context menus for patches */ |