diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-20 15:10:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-20 15:10:53 +0000 |
commit | 0eb3cbdfa1fc5360b39039065001d654c11ff7bb (patch) | |
tree | bffca90c832870cbbc18a0f80b096f4a837fe87a /gtk2_ardour/audio_clock.h | |
parent | d8425b4a0fc1a875a3f1fdff62e222386ce3f1b4 (diff) |
audio clocks: big clock window now sizes itself to its current mode, all clocks pay attention to font scaling changes
git-svn-id: svn://localhost/ardour2/branches/3.0@10706 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r-- | gtk2_ardour/audio_clock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h index a5705da022..6510727336 100644 --- a/gtk2_ardour/audio_clock.h +++ b/gtk2_ardour/audio_clock.h @@ -60,6 +60,7 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr void set_active_state (Gtkmm2ext::ActiveState s); void set_editable (bool yn); void set_corner_radius (double); + void set_fixed_width (bool); void focus (); @@ -95,6 +96,7 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr /** true if this clock follows the playhead, meaning that certain operations are redundant */ bool _follows_playhead; bool _off; + bool _fixed_width; Gtk::Menu *ops_menu; @@ -213,7 +215,8 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr void show_edit_status (int length); void drop_focus (); - + void dpi_reset (); + double bg_r, bg_g, bg_b, bg_a; }; |