diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-17 22:49:13 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-17 22:49:13 +0000 |
commit | b25fbc8a956528a7c648eb3960782aa31cc2a36e (patch) | |
tree | b45c8e70e71dfea92cffd51ff9465d965d6fb333 /gtk2_ardour/time_info_box.cc | |
parent | f07c92530c7305fc79de28e8762efcae63040729 (diff) |
all new implementation of audio clocks, with entirely new editing model. not entirely finished, but lookable, and usable
git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_info_box.cc')
-rw-r--r-- | gtk2_ardour/time_info_box.cc | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/gtk2_ardour/time_info_box.cc b/gtk2_ardour/time_info_box.cc index a34314c3cd..cde7e97e51 100644 --- a/gtk2_ardour/time_info_box.cc +++ b/gtk2_ardour/time_info_box.cc @@ -46,27 +46,18 @@ TimeInfoBox::TimeInfoBox () , syncing_selection (false) , syncing_punch (false) { - selection_start = new AudioClock ("selection-start", false, "SelectionClockDisplay", false, false, false, false); - selection_end = new AudioClock ("selection-end", false, "SelectionClockDisplay", false, false, false, false); - selection_length = new AudioClock ("selection-length", false, "SelectionClockDisplay", false, false, true, false); + selection_start = new AudioClock ("selection-start", false, "selection", false, false, false, false); + selection_end = new AudioClock ("selection-end", false, "selection", false, false, false, false); + selection_length = new AudioClock ("selection-length", false, "selection", false, false, true, false); - punch_start = new AudioClock ("punch-start", false, "PunchClockDisplay", false, false, false, false); - punch_end = new AudioClock ("punch-end", false, "PunchClockDisplay", false, false, false, false); + punch_start = new AudioClock ("punch-start", false, "punch", false, false, false, false); + punch_end = new AudioClock ("punch-end", false, "punch", false, false, false, false); - CairoEditableText& ss (selection_start->main_display()); - ss.set_corner_radius (0); - - CairoEditableText& se (selection_end->main_display()); - se.set_corner_radius (0); - - CairoEditableText& sl (selection_length->main_display()); - sl.set_corner_radius (0); - - CairoEditableText& ps (punch_start->main_display()); - ps.set_corner_radius (0); - - CairoEditableText& pe (punch_end->main_display()); - pe.set_corner_radius (0); + selection_start->set_draw_background (false); + selection_end->set_draw_background (false); + selection_length->set_draw_background (false); + punch_start->set_draw_background (false); + punch_end->set_draw_background (false); selection_title.set_text (_("Selection")); punch_title.set_text (_("Punch")); @@ -88,7 +79,6 @@ TimeInfoBox::TimeInfoBox () right.set_border_width (2); right.set_col_spacings (2); - Gtk::Label* l; selection_title.set_name ("TimeInfoSelectionTitle"); |