Reorganize project structure

This commit is contained in:
Stone_Red
2026-06-19 00:56:46 +02:00
parent 6f58eefb66
commit 95d88f1a8d
84 changed files with 267 additions and 186 deletions
@@ -0,0 +1,29 @@
using RemSox.Shared.UI;
using Cosmos.Kernel.System.Keyboard;
using System.Drawing;
namespace RemSox.Kernel.UI.GUI.UIEelements;
public abstract class Control(string type) : UIElement(type)
{
public Color BackgroundColor
{
get;
set => SetProperty(nameof(BackgroundColor), ref field, value);
} = Color.LightGray;
public Size Size
{
get;
set => SetProperty(nameof(Size), ref field, value);
}
public virtual void HandleMouseEvent(MouseEvent mouseEvent)
{
}
public virtual void HandleKeyEvent(KeyEvent keyEvent)
{
}
}