Browse Source

Add type aliases for RectangleF, Point, and PointF

Brandon Thetford 1 year ago
parent
commit
fde275c016
3 changed files with 10 additions and 1 deletions
  1. 4 1
      Terminal.Gui/Terminal.Gui.csproj
  2. 3 0
      UICatalog/UICatalog.csproj
  3. 3 0
      UnitTests/UnitTests.csproj

+ 4 - 1
Terminal.Gui/Terminal.Gui.csproj

@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
   <!-- =================================================================== -->
   <!-- Version numbers -->
   <!-- Automatically updated by gitversion (run `dotnet-gitversion /updateprojectfiles`)  -->
@@ -91,6 +91,9 @@
     <Using Include="JetBrains.Annotations" />
     <Using Include="System.Diagnostics.Contracts.PureAttribute" Alias="PureAttribute" />
     <Using Include="System.Drawing.Rectangle" Alias="Rectangle" />
+    <Using Include="System.Drawing.RectangleF" Alias="RectangleF" />
+    <Using Include="System.Drawing.Point" Alias="Point" />
+    <Using Include="System.Drawing.PointF" Alias="PointF" />
     <Using Include="System.Text" />
     <Using Include="JetBrains.Annotations" />
   </ItemGroup>

+ 3 - 0
UICatalog/UICatalog.csproj

@@ -39,5 +39,8 @@
   </ItemGroup>
   <ItemGroup>
     <Using Include="System.Drawing.Rectangle" Alias="Rectangle" />
+    <Using Include="System.Drawing.RectangleF" Alias="RectangleF" />
+    <Using Include="System.Drawing.Point" Alias="Point" />
+    <Using Include="System.Drawing.PointF" Alias="PointF" />
   </ItemGroup>
 </Project>

+ 3 - 0
UnitTests/UnitTests.csproj

@@ -47,6 +47,9 @@
   </ItemGroup>
   <ItemGroup>
     <Using Include="System.Drawing.Rectangle" Alias="Rectangle" />
+    <Using Include="System.Drawing.RectangleF" Alias="RectangleF" />
+    <Using Include="System.Drawing.Point" Alias="Point" />
+    <Using Include="System.Drawing.PointF" Alias="PointF" />
     <Using Include="Terminal.Gui" />
     <Using Include="Xunit" />
   </ItemGroup>