mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-06 15:56:29 +02:00
Add windowed terminal, basic text, rectangle rendering, and keyboard events
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace RemSox.UI.GUI.UIEelements;
|
||||
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user