diff options
author | sr55 <[email protected]> | 2007-06-24 20:09:28 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-06-24 20:09:28 +0000 |
commit | 020d63c7c6cd36a0d231ffe02f17212a0606b419 (patch) | |
tree | fbe791ebb0cb89514da8df3eea51751910bce561 /win | |
parent | 365102574004b2484836a4ab0e8bc37e8a62d742 (diff) |
WinGui:
- Quick mod16 height calculation when the user enters a width. This doesn't take cropping into account!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@638 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/Handbrake.suo | bin | 29184 -> 29184 bytes | |||
-rw-r--r-- | win/Handbrake/frmMain.vb | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/win/Handbrake.suo b/win/Handbrake.suo Binary files differindex 260fc1213..036ca4281 100644 --- a/win/Handbrake.suo +++ b/win/Handbrake.suo diff --git a/win/Handbrake/frmMain.vb b/win/Handbrake/frmMain.vb index 7a63f3edf..1bffcd51e 100644 --- a/win/Handbrake/frmMain.vb +++ b/win/Handbrake/frmMain.vb @@ -597,6 +597,13 @@ Public Class frmMain text_width.BackColor = Color.LightGreen
End If
End If
+
+ If (Not lbl_Aspect.Text.Equals("Select a Title")) Then
+ Dim height As Integer = text_width.Text / lbl_Aspect.Text
+ Dim mod16 As Integer = height Mod 16
+ height = height - mod16
+ text_height.Text = height
+ End If
Catch ex As Exception
|