diff options
author | Carl Hetherington <carl@carlh.net> | 2009-11-26 02:15:44 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-11-26 02:15:44 +0000 |
commit | 7664d86dc548ced3cf6947320de0cd235353d78d (patch) | |
tree | 2b8309834ed162592fbc786366d5a96e7f3dbd66 /gtk2_ardour/audio_clock.h | |
parent | c07f42b9f4162ec52932b0763cba2c649cb79f56 (diff) |
Fix #2931; redundant menu items on main clocks.
git-svn-id: svn://localhost/ardour2/branches/3.0@6184 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r-- | gtk2_ardour/audio_clock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h index 67d137d377..38bb3f1329 100644 --- a/gtk2_ardour/audio_clock.h +++ b/gtk2_ardour/audio_clock.h @@ -42,7 +42,7 @@ class AudioClock : public Gtk::HBox Off }; - AudioClock (std::string clock_name, bool transient, std::string widget_name, bool editable, bool is_duration = false, bool with_info = false); + AudioClock (std::string, bool, std::string, bool, bool, bool duration = false, bool with_info = false); Mode mode() const { return _mode; } @@ -79,6 +79,8 @@ class AudioClock : public Gtk::HBox bool is_transient; bool is_duration; bool editable; + /** true if this clock follows the playhead, meaning that certain operations are redundant */ + bool _follows_playhead; Gtk::Menu *ops_menu; |