compiler/libec: (#341, #351, #644, #771) Improved enum type matching and type handlin...
[sdk] / ecere / src / gui / Anchor.ec
index 55ef738..9c62c63 100644 (file)
@@ -11,6 +11,11 @@ public struct AnchorValue
       int distance;
       float percent;
    };
+   property MinMaxValue
+   {
+      set { distance = value; type = offset; }
+      get { return distance; }
+   }
    property int
    {
       set { distance = value; type = offset; }
@@ -98,6 +103,11 @@ public struct MiddleAnchorValue
       int distance;
       float percent;
    };
+   property MinMaxValue
+   {
+      set { distance = value; type = none; }
+      get { return distance; }
+   }
    property int
    {
       set { distance = value; type = none; }