mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-07 07:46:28 +02:00
Reorganize project structure
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using RemSox.Shared.UI.GUI.Rendering;
|
||||
|
||||
namespace RemSox.Kernel.UI.GUI.UIEelements.Shapes;
|
||||
|
||||
public class Pixel() : Shape("Pixel")
|
||||
{
|
||||
public override IEnumerable<RenderCommand> ToPrimitives(int windowId)
|
||||
{
|
||||
yield return new RenderCommand
|
||||
{
|
||||
WindowId = windowId,
|
||||
ElementId = PrimitiveId(0),
|
||||
Type = RenderCommandType.DrawPoint,
|
||||
Position = Position,
|
||||
Properties = new Dictionary<string, object?>
|
||||
{
|
||||
["Color"] = Color,
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user