From 002ff65d0f75431bb42cc29836d6237ba1b7d704 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 23 Oct 2009 23:21:55 +0000 Subject: Patch from colinf to show region gain in the region editor (mantis 2879) git-svn-id: svn://localhost/ardour2/branches/3.0@5899 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/audio_region_editor.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/audio_region_editor.h') diff --git a/gtk2_ardour/audio_region_editor.h b/gtk2_ardour/audio_region_editor.h index 1f23427167..25c3037908 100644 --- a/gtk2_ardour/audio_region_editor.h +++ b/gtk2_ardour/audio_region_editor.h @@ -79,6 +79,7 @@ class AudioRegionEditor : public RegionEditor Gtk::Label sync_relative_label; Gtk::Label sync_absolute_label; Gtk::Label start_label; + Gtk::Label gain_label; AudioClock position_clock; AudioClock end_clock; @@ -86,6 +87,8 @@ class AudioRegionEditor : public RegionEditor AudioClock sync_offset_relative_clock; ///< sync offset relative to the start of the region AudioClock sync_offset_absolute_clock; ///< sync offset relative to the start of the timeline AudioClock start_clock; + Gtk::Adjustment gain_adjustment; + Gtk::SpinButton gain_entry; Gtk::HSeparator sep3; Gtk::VSeparator sep1; @@ -94,6 +97,7 @@ class AudioRegionEditor : public RegionEditor void region_changed (ARDOUR::Change); void bounds_changed (ARDOUR::Change); void name_changed (); + void gain_changed (); void audition_state_changed (bool); @@ -105,6 +109,7 @@ class AudioRegionEditor : public RegionEditor void length_clock_changed (); void sync_offset_absolute_clock_changed (); void sync_offset_relative_clock_changed (); + void gain_adjustment_changed (); void audition_button_toggled (); -- cgit v1.2.3