From 2efd8f264113bcd3d8c39a1f408c16cc27100aa7 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 1 Mar 2012 19:01:54 +0000 Subject: WinGui: (WPF) Further work wiring up the new UI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4479 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../HandBrakeInterop/Model/Cropping.cs | 51 +++++++++++++++++++--- 1 file changed, 45 insertions(+), 6 deletions(-) (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/Model') diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs index e13c9daff..8e6e6c1f5 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs @@ -9,7 +9,10 @@ namespace HandBrake.Interop.Model { - public class Cropping + /// + /// The Cropping Model + /// + public class Cropping { /// /// Initializes a new instance of the class. @@ -18,6 +21,21 @@ namespace HandBrake.Interop.Model { } + /// + /// Initializes a new instance of the class. + /// Copy Constructor + /// + /// + /// The croping. + /// + public Cropping(Cropping croping) + { + this.Top = croping.Top; + this.Bottom = croping.Bottom; + this.Left = croping.Left; + this.Right = croping.Right; + } + /// /// Initializes a new instance of the class. /// @@ -41,12 +59,33 @@ namespace HandBrake.Interop.Model this.Right = right; } - public int Top { get; set; } - public int Bottom { get; set; } - public int Left { get; set; } - public int Right { get; set; } + /// + /// Gets or sets Top. + /// + public int Top { get; set; } - public Cropping Clone() + /// + /// Gets or sets Bottom. + /// + public int Bottom { get; set; } + + /// + /// Gets or sets Left. + /// + public int Left { get; set; } + + /// + /// Gets or sets Right. + /// + public int Right { get; set; } + + /// + /// Clone this model + /// + /// + /// A Cloned copy + /// + public Cropping Clone() { return new Cropping { -- cgit v1.2.3