diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-05-04 22:02:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-05-04 22:02:05 -0400 |
commit | 40944574c620868b43872f64600a8a42d382a6a1 (patch) | |
tree | ea1eda6147b34afdfccf4882d99602b0565fd944 /gtk2_ardour/window_manager.h | |
parent | 69a3310037e013c074b1d8643323017ac1c815f9 (diff) |
the big rework of window management. probably not complete at thsi point, but this is mostly functional
Diffstat (limited to 'gtk2_ardour/window_manager.h')
-rw-r--r-- | gtk2_ardour/window_manager.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gtk2_ardour/window_manager.h b/gtk2_ardour/window_manager.h index d0204f20b8..fb65a8d088 100644 --- a/gtk2_ardour/window_manager.h +++ b/gtk2_ardour/window_manager.h @@ -68,12 +68,11 @@ class WindowManager void set_action (Glib::RefPtr<Gtk::Action>); Glib::RefPtr<Gtk::Action> action() const { return _action; }; - void clear (); + void drop_window (); void use_window (Gtk::Window&); virtual Gtk::Window* get (bool create = false) = 0; - virtual bool rc_configured() const { return true; } virtual void toggle (); void set_state (const XMLNode&); @@ -88,16 +87,14 @@ class WindowManager std::string _menu_name; Glib::RefPtr<Gtk::Action> _action; Gtk::Window* _window; - bool _visible; ///< true if the window should be visible on startup - int _x_off; ///< x position - int _y_off; ///< y position - int _width; ///< width - int _height; ///< height + mutable bool _visible; ///< true if the window should be visible on startup + mutable int _x_off; ///< x position + mutable int _y_off; ///< y position + mutable int _width; ///< width + mutable int _height; ///< height Gtkmm2ext::VisibilityTracker* vistracker; - sigc::connection configure_connection; void setup (); - bool configured (GdkEventConfigure*); }; template<typename T> |