summaryrefslogtreecommitdiffstats
path: root/src/StateManager.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-02 17:10:26 +0000
committerDavid Robillard <d@drobilla.net>2008-01-02 17:10:26 +0000
commitcc2e862e207046040438c8f0c1c1cab3dd140b13 (patch)
treee1c57dc527c35da48fe7d4f5d9819c3cdf18ccf1 /src/StateManager.hpp
parentd29ecca68be290b7c2505e48fd2b6906f2f317d9 (diff)
downloadpatchage-cc2e862e207046040438c8f0c1c1cab3dd140b13.tar.gz
patchage-cc2e862e207046040438c8f0c1c1cab3dd140b13.tar.bz2
patchage-cc2e862e207046040438c8f0c1c1cab3dd140b13.zip
Added back retarded "do the winndow manager's job" code.
git-svn-id: http://svn.drobilla.net/lad/patchage@1005 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/StateManager.hpp')
-rw-r--r--src/StateManager.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/StateManager.hpp b/src/StateManager.hpp
index 63b47ec..63676a6 100644
--- a/src/StateManager.hpp
+++ b/src/StateManager.hpp
@@ -46,6 +46,11 @@ public:
int get_port_color(PortType type);
+ Coord get_window_location() { return _window_location; }
+ void set_window_location(Coord loc) { _window_location = loc; }
+ Coord get_window_size() { return _window_size; }
+ void set_window_size(Coord size) { _window_size = size; }
+
private:
struct ModuleLocation {
std::string name;
@@ -55,6 +60,8 @@ private:
std::list<ModuleLocation> _module_locations;
std::map<std::string,bool> _module_splits;
+ Coord _window_location;
+ Coord _window_size;
float _zoom;
};