summaryrefslogtreecommitdiffstats
path: root/src/gui/WindowFactory.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-16 22:27:16 +0000
committerDavid Robillard <d@drobilla.net>2012-03-16 22:27:16 +0000
commitbc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 (patch)
treeb42f56620ce85f6207568eadfb901360436c6f74 /src/gui/WindowFactory.hpp
parent7126f005be3e49818dafe0d2666b6745e09f8aff (diff)
downloadingen-bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9.tar.gz
ingen-bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9.tar.bz2
ingen-bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9.zip
Preliminary work towards native LV2 UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4074 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/WindowFactory.hpp')
-rw-r--r--src/gui/WindowFactory.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/WindowFactory.hpp b/src/gui/WindowFactory.hpp
index d520740f..7bee1fd4 100644
--- a/src/gui/WindowFactory.hpp
+++ b/src/gui/WindowFactory.hpp
@@ -44,6 +44,7 @@ class LoadPluginWindow;
class NewSubpatchWindow;
class NodeControlWindow;
class PropertiesWindow;
+class PatchBox;
class PatchView;
class PatchWindow;
class RenameWindow;
@@ -62,13 +63,14 @@ public:
size_t num_open_patch_windows();
+ PatchBox* patch_box(SharedPtr<const PatchModel> patch);
PatchWindow* patch_window(SharedPtr<const PatchModel> patch);
PatchWindow* parent_patch_window(SharedPtr<const NodeModel> node);
NodeControlWindow* control_window(SharedPtr<const NodeModel> node);
void present_patch(SharedPtr<const PatchModel> model,
- PatchWindow* preferred = NULL,
- SharedPtr<PatchView> view = SharedPtr<PatchView>());
+ PatchWindow* preferred = NULL,
+ SharedPtr<PatchView> view = SharedPtr<PatchView>());
void present_controls(SharedPtr<const NodeModel> node);
@@ -83,6 +85,8 @@ public:
bool remove_patch_window(PatchWindow* win, GdkEventAny* ignored = NULL);
+ void set_main_box(PatchBox* box) { _main_box = box; }
+
void clear();
private:
@@ -97,6 +101,7 @@ private:
GdkEventAny* ignored);
App& _app;
+ PatchBox* _main_box;
PatchWindowMap _patch_windows;
ControlWindowMap _control_windows;
LoadPluginWindow* _load_plugin_win;