diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-01-02 08:23:56 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-01-02 08:23:56 -0500 |
commit | 9ef350cb909e82f855df83b4084b2490810ee49e (patch) | |
tree | baff6d1945e724f4c7d3f7cd1ecf6ac456918b33 /gtk2_ardour/big_clock_window.h | |
parent | 884cc6f90c54c6e2e528973502554ee9405c94a2 (diff) |
remember big clock window scaling, or rather, recompute it accurately
Diffstat (limited to 'gtk2_ardour/big_clock_window.h')
-rw-r--r-- | gtk2_ardour/big_clock_window.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/big_clock_window.h b/gtk2_ardour/big_clock_window.h index c83f61b054..1f723d1b59 100644 --- a/gtk2_ardour/big_clock_window.h +++ b/gtk2_ardour/big_clock_window.h @@ -31,10 +31,9 @@ class BigClockWindow : public ArdourWindow private: AudioClock& clock; - int original_height; - int original_width; + Gtk::Requisition default_size; - void on_size_allocate (Gtk::Allocation&); + void clock_size_reallocated (Gtk::Allocation&); void on_realize (); void on_unmap (); bool on_key_press_event (GdkEventKey*); |