Removed TODOs

This commit is contained in:
Bobby Lucero 2025-07-08 12:14:32 -04:00
parent d0ff5d2929
commit 920cf5f9e4
2 changed files with 4 additions and 3 deletions

View File

@ -277,7 +277,7 @@ namespace MicroUI
public class MuTextCommand : MuCommand
{
public object? Font { get; } // TODO: Idk how this works yet
public object? Font { get; }
public MuVec2 Position { get; }
public MuColor Color { get; }
public string Text { get; }
@ -538,7 +538,7 @@ namespace MicroUI
// Draw border if alpha > 0
if (ctx.Style.Colors[(int)ColorType.Border].A > 0)
{
MuCommandList.DrawBox(ctx, ExpandRect(rect, 1), ctx.Style.Colors[(int)ColorType.Border]); // TODO: Implement DrawBox
MuCommandList.DrawBox(ctx, ExpandRect(rect, 1), ctx.Style.Colors[(int)ColorType.Border]);
}
}
@ -612,7 +612,7 @@ namespace MicroUI
ctx.NextHoverRoot.ZIndex < ctx.LastZIndex &&
ctx.NextHoverRoot.ZIndex >= 0)
{
BringToFront(ctx, ctx.NextHoverRoot); // TODO: Implement BringToFront
BringToFront(ctx, ctx.NextHoverRoot);
}
ctx.KeyPressed = 0;

View File

@ -73,6 +73,7 @@ class Program
break;
case MuClipCommand clipCmd:
//Console.Write($" | Clip: ({clipCmd.Rect.X},{clipCmd.Rect.Y},{clipCmd.Rect.W},{clipCmd.Rect.H})");
Raylib.BeginScissorMode(clipCmd.Rect.X, clipCmd.Rect.Y, clipCmd.Rect.W, clipCmd.Rect.H);
break;
case MuJumpCommand jumpCmd:
//Console.Write($" | Jump to: {jumpCmd.DestinationIndex}");