diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-22 01:18:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-22 01:18:05 +0000 |
commit | f7b41200c60559320d88a197339d154603d3b6dc (patch) | |
tree | 5c34c6d9ecec034cf137337246a9bb854884ba41 /gtk2_ardour/audio_clock.h | |
parent | a2d37a02b8dbf069313dee33abb906212c879cc5 (diff) |
Separate milliseconds from seconds in the clock widget (#4053).
git-svn-id: svn://localhost/ardour2/branches/3.0@9564 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.h')
-rw-r--r-- | gtk2_ardour/audio_clock.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h index 25eab1a3ba..84ed0c1cd7 100644 --- a/gtk2_ardour/audio_clock.h +++ b/gtk2_ardour/audio_clock.h @@ -106,6 +106,7 @@ class AudioClock : public Gtk::HBox, public ARDOUR::SessionHandlePtr MS_Hours, MS_Minutes, MS_Seconds, + MS_Milliseconds, Bars, Beats, Ticks, @@ -125,6 +126,7 @@ class AudioClock : public Gtk::HBox, public ARDOUR::SessionHandlePtr Gtk::EventBox ms_hours_ebox; Gtk::EventBox ms_minutes_ebox; Gtk::EventBox ms_seconds_ebox; + Gtk::EventBox ms_milliseconds_ebox; Gtk::EventBox bars_ebox; Gtk::EventBox beats_ebox; @@ -139,7 +141,9 @@ class AudioClock : public Gtk::HBox, public ARDOUR::SessionHandlePtr Gtk::Label ms_hours_label; Gtk::Label ms_minutes_label; Gtk::Label ms_seconds_label; + Gtk::Label ms_milliseconds_label; Gtk::Label colon4, colon5; + Gtk::Label period1; Gtk::Label bars_label; Gtk::Label beats_label; @@ -176,7 +180,8 @@ class AudioClock : public Gtk::HBox, public ARDOUR::SessionHandlePtr long ms_last_hrs; long ms_last_mins; - float ms_last_secs; + int ms_last_secs; + int ms_last_millisecs; bool dragging; double drag_start_y; |