diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-07-07 22:12:21 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:21 -0500 |
commit | 9010262bed21611f2db652d16f63e4af4380259d (patch) | |
tree | b112724d2b26eb3b66b5e1c5571dbf6c5509cc24 /libs/gtkmm2ext/window_proxy.cc | |
parent | 85eee3b09dd53f6f5d1803f2b585270ab535e16f (diff) |
first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
Diffstat (limited to 'libs/gtkmm2ext/window_proxy.cc')
-rw-r--r-- | libs/gtkmm2ext/window_proxy.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libs/gtkmm2ext/window_proxy.cc b/libs/gtkmm2ext/window_proxy.cc index 08dd2aedb0..d393f4d9bb 100644 --- a/libs/gtkmm2ext/window_proxy.cc +++ b/libs/gtkmm2ext/window_proxy.cc @@ -32,8 +32,9 @@ using namespace Gtk; using namespace Gtkmm2ext; using namespace PBD; -WindowProxy::WindowProxy () - : _window (0) +WindowProxy::WindowProxy (const std::string& name) + : _name (name) + , _window (0) , _visible (false) , _x_off (-1) , _y_off (-1) @@ -67,7 +68,7 @@ WindowProxy::WindowProxy (const std::string& name, const std::string& menu_name, , _height (-1) , vistracker (0) { - set_state (node); + set_state (node, 0); } WindowProxy::~WindowProxy () @@ -77,7 +78,7 @@ WindowProxy::~WindowProxy () } int -WindowProxy::set_state (const XMLNode& node) +WindowProxy::set_state (const XMLNode& node, int /* version */) { XMLNodeList children = node.children (); @@ -171,7 +172,7 @@ WindowProxy::toggle() } XMLNode& -WindowProxy::get_state () const +WindowProxy::get_state () { XMLNode* node = new XMLNode (X_("Window")); char buf[32]; |