Add mouse event handling and improve key event handling for controls and windows

This commit is contained in:
Stone_Red
2026-06-12 23:04:38 +02:00
parent c6a9bc1870
commit 0bc9ca6cf2
6 changed files with 218 additions and 24 deletions
+18
View File
@@ -0,0 +1,18 @@
using System.Drawing;
namespace RemSox.UI.GUI.UIEelements.Shapes;
public class Text() : UIElement("Text")
{
public string Content
{
get;
set => SetProperty(nameof(Content), ref field, value);
} = string.Empty;
public Color Color
{
get;
set => SetProperty(nameof(Color), ref field, value);
} = Color.White;
}