diff options
author | sr55 <[email protected]> | 2009-09-24 21:22:53 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-09-24 21:22:53 +0000 |
commit | 7d3099c1490d3ff43c220218fadf2c97afd043a2 (patch) | |
tree | d39ba87b90a318e0ac97f8ff9dc0721943094683 /win/C#/Controls | |
parent | d4dfa80f7c75c0d21d442c74b00494cda6174de3 (diff) |
WinGui:
- Video Preview window is not forced to topMost. Stops VLC window appearing below it.
- Double click the max width label to switch to standard (-w) width
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2838 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Controls')
-rw-r--r-- | win/C#/Controls/PictureSettings.Designer.cs | 1 | ||||
-rw-r--r-- | win/C#/Controls/PictureSettings.cs | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/win/C#/Controls/PictureSettings.Designer.cs b/win/C#/Controls/PictureSettings.Designer.cs index 853d61982..30a893392 100644 --- a/win/C#/Controls/PictureSettings.Designer.cs +++ b/win/C#/Controls/PictureSettings.Designer.cs @@ -386,6 +386,7 @@ namespace Handbrake.Controls this.lbl_max.Size = new System.Drawing.Size(15, 13);
this.lbl_max.TabIndex = 83;
this.lbl_max.Text = "--";
+ this.lbl_max.DoubleClick += new System.EventHandler(this.lbl_max_DoubleClick);
//
// label4
//
diff --git a/win/C#/Controls/PictureSettings.cs b/win/C#/Controls/PictureSettings.cs index eed7ba560..70273cc64 100644 --- a/win/C#/Controls/PictureSettings.cs +++ b/win/C#/Controls/PictureSettings.cs @@ -489,5 +489,13 @@ namespace Handbrake.Controls if (remainder == 0) return value;
return (value + remainder);
}
+
+ // Hidden UI feature to drop the MaxWidth / Height with the MaxWidth/Height label is double clicked
+ private void lbl_max_DoubleClick(object sender, EventArgs e)
+ {
+ PresetMaximumResolution = new Size(0,0);
+ if (PictureSettingsChanged != null)
+ PictureSettingsChanged(this, new EventArgs());
+ }
}
}
\ No newline at end of file |