Added Position- and Size-properties to Windpw

This commit is contained in:
Simon Lübeß
2020-11-13 19:44:45 +01:00
parent 001bd346a9
commit 5697f606d5
2 changed files with 42 additions and 1 deletions
+11 -1
View File
@@ -1,5 +1,6 @@
using System;
using GlitchyEngine.Events;
using GlitchyEngine.Math;
namespace GlitchyEngine
{
@@ -50,7 +51,11 @@ namespace GlitchyEngine
* Gets or Sets the maximum height of the window.
*/
public abstract int32 MaxHeight {get; set;}
/**
* Gets or Sets the width and height of the window.
*/
public abstract Point Size {get; set;}
/**
* Gets or Sets the width of the window.
*/
@@ -59,6 +64,11 @@ namespace GlitchyEngine
* Gets or Sets the height of the window.
*/
public abstract int32 Height {get; set;}
/**
* Gets or Sets the position of the upper-left corner of the client area of the window.
*/
public abstract Point Position {get; set;}
/**
* Gets or Sets the x-coordinate of the upper-left corner of the client area of the window.