mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 00:56:19 +02:00
Reorganize project structure
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user