summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-12-29 15:59:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-12-29 15:59:38 +0000
commit8f9a854b2809354126ecb038f16edbb7f2ce7c6e (patch)
tree635ee8177b176ab82d8e923a16ed74398aeb51b9 /gtk2_ardour/audio_clock.h
parentab63729ac6b575022169d1d10070ebc564e1d62a (diff)
used fixed width for the big clock and remove all code in AudioClock associated with variable width, since it just really doesn't work very well, and probably cannot be made to work very well
git-svn-id: svn://localhost/ardour2/branches/3.0@13744 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r--gtk2_ardour/audio_clock.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h
index 81fd9172d9..96cde6ea81 100644
--- a/gtk2_ardour/audio_clock.h
+++ b/gtk2_ardour/audio_clock.h
@@ -60,7 +60,6 @@ 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 ();
@@ -100,11 +99,8 @@ 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;
- int layout_x_offset;
int em_width;
bool _edit_by_click_field;
- int _mode_width[4]; /* enum Mode entries */
bool _negative_allowed;
bool edit_is_negative;
@@ -193,6 +189,8 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
void set_minsec (framepos_t, bool);
void set_frames (framepos_t, bool);
+ void set_clock_dimensions (Gtk::Requisition&);
+
framepos_t get_frame_step (Field, framepos_t pos = 0, int dir = 1);
bool timecode_validate_edit (const std::string&);