From 746cf9168fd78f5ed4ec1186369142e46a880e3e Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 8 Jun 2011 21:15:06 +0000 Subject: LinGui: move advanced audio from a dialog popup to an expander box The expander fits on the audio tab and expands the advanced controls when activated. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4032 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/ghb.ui | 484 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 235 insertions(+), 249 deletions(-) (limited to 'gtk/src') diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui index 729880e15..939ae155e 100644 --- a/gtk/src/ghb.ui +++ b/gtk/src/ghb.ui @@ -2015,77 +2015,270 @@ FFMpeg's and Theora's scale is more linear. These encoders do not have a lossle GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 - + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 5 + 2 + 3 + 5 + 5 - + True - True - True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Add new audio settings to the list - GTK_RELIEF_NONE - + 0 + 0 - + True + True + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - gtk-add + Add new audio settings to the list + GTK_RELIEF_NONE + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + gtk-add + + - False + 0 + 1 + 0 + 1 + GTK_FILL + GTK_FILL - + True - True - True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Remove the selected audio settings - GTK_RELIEF_NONE - + 0 + 0 - + True + True + True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - gtk-remove + Remove the selected audio settings + GTK_RELIEF_NONE + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + gtk-remove + + - False - 1 - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - - - - True - 2 + 0 + 1 + 1 + 2 + GTK_FILL + GTK_FILL - + True - True - True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Change advanced audio settings. - - Advanced Audio + False + Advanced + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 2 + 5 + 5 + + + True + 1 + Track Name: + True + + + 0 + 1 + 0 + 1 + GTK_FILL + + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 0 + + + True + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 40 + True + 20 + True + Set the audio track name. Players may use this in the audio selection list. + + + + + + 0 + 1 + 1 + 2 + GTK_FILL + + + + + True + + True + + + 0 + 1 + 2 + 3 + GTK_FILL|GTK_EXPAND + + + + + True + 1 + Sample Rate: + True + + + 1 + 2 + 0 + 1 + GTK_FILL + + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 0 + 0 + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + Set the sample rate of the output audio track. + + + + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + 1 + Gain: + True + + + 0 + 1 + 3 + 4 + GTK_FILL + + + + + True + 200 + horizontal + adjustment35 + right + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + <b>Audio Gain:</b> Adjust the amplification or attenuation of the output audio track. + + + + + 0 + 1 + 4 + 5 + GTK_FILL + + + + + True + 1 + Dynamic Range Compression: + True + + + 1 + 2 + 3 + 4 + GTK_FILL + + + + + True + 100 + horizontal + right + adjustment28 + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + <b>Dynamic Range Compression:</b> Adjust the dynamic range of the output audio track. + + For source audio that has a wide dynamic range (very loud and very soft sequences), DRC allows you to 'compress' the range by making loud sections softer and soft sections louder. + + + + + 1 + 2 + 4 + 5 + GTK_FILL + + + + - False - 3 + 0 + 2 + 2 + 3 + GTK_FILL|GTK_EXPAND + @@ -2221,7 +2414,7 @@ FFMpeg's and Theora's scale is more linear. These encoders do not have a lossle False - 1 + 2 @@ -2241,7 +2434,7 @@ FFMpeg's and Theora's scale is more linear. These encoders do not have a lossle - 2 + 3 @@ -3839,213 +4032,6 @@ no-fast-pskip=0:no-dct-decimate=0:cabac=1 - - 5 - Advanced Audio Settings - False - center-on-parent - dialog - True - True - - - - vertical - True - 2 - - - True - 4 - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - hb-icon - 6 - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 4 - 3 - 5 - - - True - 1 - Audio Track Name: - True - - - 0 - 1 - 0 - 1 - GTK_FILL - - - - - True - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 40 - True - 30 - True - Set the audio track name. Players may use this in the audio selection list. - - - - 0 - 1 - 1 - 3 - GTK_FILL - - - - - True - 1 - Sample Rate: - True - - - 1 - 2 - 0 - 1 - GTK_FILL - - - - - True - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - Set the sample rate of the output audio track. - - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - True - 1 - Gain: - True - - - 2 - 3 - 0 - 1 - GTK_FILL - - - - - True - 200 - horizontal - adjustment35 - right - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - <b>Audio Gain:</b> Adjust the amplification or attenuation of the output audio track. - - - - - 2 - 3 - 1 - 3 - GTK_FILL|GTK_EXPAND - - - - - True - 1 - Dynamic Range Compression: - True - - - 3 - 4 - 0 - 1 - GTK_FILL - - - - - True - 100 - horizontal - right - adjustment28 - GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - <b>Dynamic Range Compression:</b> Adjust the dynamic range of the output audio track. - -For source audio that has a wide dynamic range (very loud and very soft sequences), DRC allows you to 'compress' the range by making loud sections softer and soft sections louder. - - - - - 3 - 4 - 1 - 3 - GTK_FILL|GTK_EXPAND - - - - - - - - - True - end - - - gtk-ok - True - True - True - True - - - - False - False - 0 - - - - - False - end - 0 - - - - - - advanced_audio_ok - - - 5 Preferences -- cgit v1.2.3