diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index afcc4c6..0472f38 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -1,4 +1,5 @@ using System; +using System.Drawing; using System.Numerics; using System.Runtime.InteropServices; using System.Security; diff --git a/Raylib-cs/types/Font.cs b/Raylib-cs/types/Font.cs index 8bf95f3..5b5f83e 100644 --- a/Raylib-cs/types/Font.cs +++ b/Raylib-cs/types/Font.cs @@ -1,4 +1,5 @@ using System; +using System.Drawing; using System.Runtime.InteropServices; namespace Raylib_cs diff --git a/Raylib-cs/types/NPatchInfo.cs b/Raylib-cs/types/NPatchInfo.cs index 6030f35..bdb3e62 100644 --- a/Raylib-cs/types/NPatchInfo.cs +++ b/Raylib-cs/types/NPatchInfo.cs @@ -1,3 +1,4 @@ +using System.Drawing; using System.Runtime.InteropServices; namespace Raylib_cs diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index 9231fb6..7fd09cf 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -1,4 +1,5 @@ using System; +using System.Drawing; using System.Numerics; using System.Runtime.InteropServices; diff --git a/Raylib-cs/types/Rectangle.cs b/Raylib-cs/types/Rectangle.cs deleted file mode 100644 index ef0de9b..0000000 --- a/Raylib-cs/types/Rectangle.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.Runtime.InteropServices; - -namespace Raylib_cs -{ - /// - /// Rectangle type - /// - [StructLayout(LayoutKind.Sequential)] - public partial struct Rectangle - { - public float x; - public float y; - public float width; - public float height; - - public Rectangle(float x, float y, float width, float height) - { - this.x = x; - this.y = y; - this.width = width; - this.height = height; - } - - public override string ToString() - { - return $"{{X:{x} Y:{y} Width:{width} Height:{height}}}"; - } - } -}