summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_region_editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-10-23 23:21:55 +0000
committerCarl Hetherington <carl@carlh.net>2009-10-23 23:21:55 +0000
commit002ff65d0f75431bb42cc29836d6237ba1b7d704 (patch)
treead9a6fa8053e48d96b31ee2f2046921c8359b2bb /gtk2_ardour/audio_region_editor.h
parenta6b735abdbcfc375db314e7f3a4ffb9cee503a48 (diff)
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
Diffstat (limited to 'gtk2_ardour/audio_region_editor.h')
-rw-r--r--gtk2_ardour/audio_region_editor.h5
1 files changed, 5 insertions, 0 deletions
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 ();