/[Sims3RigEditor]/trunk/gr2lib_typedefs/typedefs/ArtToolInfo.cs
ViewVC logotype

Diff of /trunk/gr2lib_typedefs/typedefs/ArtToolInfo.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_typedefs/typedefs/ArtToolInfo.cs	2010/07/29 17:25:37	5
+++ trunk/gr2lib_typedefs/typedefs/ArtToolInfo.cs	2010/07/30 00:28:19	6
@@ -11,6 +11,8 @@
     /// <summary>
     /// ArtToolInfoVersion class
     /// </summary>
+    [Browsable(true)]
+    [TypeConverter(typeof(ExpandableObjectConverter))]
     public class ArtToolInfoVersion : IArtToolInfoVersion
     {
         /// <summary>
@@ -35,6 +37,7 @@
         /// Get/set the major
         /// </summary>
         [RefreshPropertiesAttribute(RefreshProperties.All)]
+        [Browsable(true)]
         public int Major
         {
             get { return _Major; }
@@ -45,6 +48,7 @@
         /// Get/set the minor
         /// </summary>
         [RefreshPropertiesAttribute(RefreshProperties.All)]
+        [Browsable(true)]
         public int Minor
         {
             get { return _Minor; }
@@ -65,6 +69,8 @@
     /// <summary>
     /// ArtToolInfoVector class
     /// </summary>
+    [Browsable(true)]
+    [TypeConverter(typeof(ExpandableObjectConverter))]
     public class ArtToolInfoVector : IArtToolInfoVector
     {
         private Vector3 _Origin;
@@ -95,7 +101,7 @@
         /// <summary>
         /// Get/set the Origin
         /// </summary>
-        [RefreshPropertiesAttribute(RefreshProperties.All)]        
+        [RefreshPropertiesAttribute(RefreshProperties.All)]    
         public Vector3 Origin { get { return _Origin; } set { _Origin = value; } }
         /// <summary>
         /// Get/set the Right
@@ -137,6 +143,7 @@
     /// <summary>
     /// ArtToolInfo class
     /// </summary>
+    //[Category("Art Tool Info")]
     public class ArtToolInfo : IArtToolInfo
     {
           //private string _ParentResourceName;
@@ -166,8 +173,8 @@
             this.FromArtToolName = "";
             this.ToolVersion = new ArtToolInfoVersion();
 
-            this.ArtToolMajorRevision = 0;
-            this.ArtToolMinorRevision = 0;
+            //this.ArtToolMajorRevision = 0;
+            //this.ArtToolMinorRevision = 0;
             this.UnitsPerMeter = 1;
             //this.ExtendedData = IntPtr.Zero;
             //this.NativePointer = IntPtr.Zero;
@@ -188,23 +195,26 @@
         /// Get/set ArtTool Name
         /// </summary>
         [RefreshPropertiesAttribute(RefreshProperties.All)]
+        [CategoryAttribute("Art Tool Info")]
         public string FromArtToolName { get { return _fromArtToolName; } set { _fromArtToolName = value; } }
-        /// <summary>
-        /// Get/set ArtTool Major
-        /// </summary>
-        [RefreshPropertiesAttribute(RefreshProperties.All)]
-        public int ArtToolMajorRevision { get { return _ToolVersion.Major; } set { _ToolVersion.Major = value; } }
-        /// <summary>
-        /// Get/set ArtTool Minor
-        /// </summary>
-        [RefreshPropertiesAttribute(RefreshProperties.All)]
-        public int ArtToolMinorRevision { get { return _ToolVersion.Minor; } set { _ToolVersion.Minor = value; } }
+        ///// <summary>
+        ///// Get/set ArtTool Major
+        ///// </summary>
+        //[RefreshPropertiesAttribute(RefreshProperties.All)]
+        //internal int ArtToolMajorRevision { get { return _ToolVersion.Major; } set { _ToolVersion.Major = value; } }
+        ///// <summary>
+        ///// Get/set ArtTool Minor
+        ///// </summary>
+        //[RefreshPropertiesAttribute(RefreshProperties.All)]
+        //internal int ArtToolMinorRevision { get { return _ToolVersion.Minor; } set { _ToolVersion.Minor = value; } }
 
         private ArtToolInfoVersion _ToolVersion;
         /// <summary>
         /// Get/set ArtTool Version
         /// </summary>
         [RefreshPropertiesAttribute(RefreshProperties.All)]
+        [CategoryAttribute("Art Tool Info")]
+        [Browsable(true)]
         public ArtToolInfoVersion ToolVersion { get { return _ToolVersion; } set { _ToolVersion = value; } }
 
         /// <summary>
@@ -212,34 +222,37 @@
         /// </summary>
         [RefreshPropertiesAttribute(RefreshProperties.All)]
         //[Editor(typeof(UINumericEditor<NumericType<float>,float>), typeof(UITypeEditor))]
+        [CategoryAttribute("Art Tool Info")]
         public float UnitsPerMeter { get { return _unitsPerMeter; } set { _unitsPerMeter = value; } }
 
-        /// <summary>
-        ///Get/set  ArtTool Origin
-        /// </summary>
-        [RefreshPropertiesAttribute(RefreshProperties.All)]
-        public Vector3 Origin { get { return Vector.Origin; } set { Vector.Origin = value; } }
-        /// <summary>
-        ///Get/set  ArtTool Right
-        /// </summary>
-        [RefreshPropertiesAttribute(RefreshProperties.All)]
-        public Vector3 Right { get { return Vector.Right; } set { Vector.Right = value; } }
-        /// <summary>
-        ///Get/set  ArtTool Up
-        /// </summary>
-        [RefreshPropertiesAttribute(RefreshProperties.All)]
-        public Vector3 Up { get { return Vector.Up; } set { Vector.Up = value; } }
-        /// <summary>
-        ///Get/set  ArtTool Back
-        /// </summary>
-        [RefreshPropertiesAttribute(RefreshProperties.All)]
-        public Vector3 Back { get { return Vector.Back; } set { Vector.Back = value; } }
+        ///// <summary>
+        /////Get/set  ArtTool Origin
+        ///// </summary>
+        //[RefreshPropertiesAttribute(RefreshProperties.All)]
+        //internal Vector3 Origin { get { return Vector.Origin; } set { Vector.Origin = value; } }
+        ///// <summary>
+        /////Get/set  ArtTool Right
+        ///// </summary>
+        //[RefreshPropertiesAttribute(RefreshProperties.All)]
+        //internal Vector3 Right { get { return Vector.Right; } set { Vector.Right = value; } }
+        ///// <summary>
+        /////Get/set  ArtTool Up
+        ///// </summary>
+        //[RefreshPropertiesAttribute(RefreshProperties.All)]
+        //internal Vector3 Up { get { return Vector.Up; } set { Vector.Up = value; } }
+        ///// <summary>
+        /////Get/set  ArtTool Back
+        ///// </summary>
+        //[RefreshPropertiesAttribute(RefreshProperties.All)]
+        //internal Vector3 Back { get { return Vector.Back; } set { Vector.Back = value; } }
 
         private ArtToolInfoVector _Vector;
         /// <summary>
         ///Get/set  ArtTool Vector
         /// </summary>
         [RefreshPropertiesAttribute(RefreshProperties.All)]
+        [CategoryAttribute("Art Tool Info")]
+        [Browsable(true)]
         public ArtToolInfoVector Vector
         {
             get { return _Vector; }

 

  ViewVC Help
Powered by ViewVC 1.1.22