Explorar o código

Clean up stuff

Move PoseInfo struct into COM3D2.MeidoPhotoStudio.Plugin namespace
widen face window button
habeebweeb %!s(int64=4) %!d(string=hai) anos
pai
achega
e316127ac5

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/GUI/Windows/MainWindows/MaidFaceWindow.cs

@@ -52,7 +52,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
             };
 
             float dropdownButtonHeight = arrowButtonSize;
-            float dropdownButtonWidth = 143f;
+            float dropdownButtonWidth = 153f;
             GUILayoutOption[] dropdownLayoutOptions = new GUILayoutOption[] {
                 GUILayout.Height(dropdownButtonHeight),
                 GUILayout.Width(dropdownButtonWidth)

+ 12 - 12
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/Meido.cs

@@ -306,19 +306,19 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
             SelectMeido?.Invoke(this, args);
         }
     }
-}
 
-public struct PoseInfo
-{
-    public int PoseGroupIndex { get; private set; }
-    public int PoseIndex { get; private set; }
-    public string PoseName { get; private set; }
-    public bool IsCustomPose { get; private set; }
-    public PoseInfo(int poseGroup, int pose, string poseName, bool isCustomPose = false)
+    public struct PoseInfo
     {
-        this.PoseGroupIndex = poseGroup;
-        this.PoseIndex = pose;
-        this.PoseName = poseName;
-        this.IsCustomPose = isCustomPose;
+        public int PoseGroupIndex { get; private set; }
+        public int PoseIndex { get; private set; }
+        public string PoseName { get; private set; }
+        public bool IsCustomPose { get; private set; }
+        public PoseInfo(int poseGroup, int pose, string poseName, bool isCustomPose = false)
+        {
+            this.PoseGroupIndex = poseGroup;
+            this.PoseIndex = pose;
+            this.PoseName = poseName;
+            this.IsCustomPose = isCustomPose;
+        }
     }
 }