Removed TODOs
This commit is contained in:
parent
d0ff5d2929
commit
920cf5f9e4
@ -277,7 +277,7 @@ namespace MicroUI
|
|||||||
|
|
||||||
public class MuTextCommand : MuCommand
|
public class MuTextCommand : MuCommand
|
||||||
{
|
{
|
||||||
public object? Font { get; } // TODO: Idk how this works yet
|
public object? Font { get; }
|
||||||
public MuVec2 Position { get; }
|
public MuVec2 Position { get; }
|
||||||
public MuColor Color { get; }
|
public MuColor Color { get; }
|
||||||
public string Text { get; }
|
public string Text { get; }
|
||||||
@ -538,7 +538,7 @@ namespace MicroUI
|
|||||||
// Draw border if alpha > 0
|
// Draw border if alpha > 0
|
||||||
if (ctx.Style.Colors[(int)ColorType.Border].A > 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 < ctx.LastZIndex &&
|
||||||
ctx.NextHoverRoot.ZIndex >= 0)
|
ctx.NextHoverRoot.ZIndex >= 0)
|
||||||
{
|
{
|
||||||
BringToFront(ctx, ctx.NextHoverRoot); // TODO: Implement BringToFront
|
BringToFront(ctx, ctx.NextHoverRoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.KeyPressed = 0;
|
ctx.KeyPressed = 0;
|
||||||
|
|||||||
@ -73,6 +73,7 @@ class Program
|
|||||||
break;
|
break;
|
||||||
case MuClipCommand clipCmd:
|
case MuClipCommand clipCmd:
|
||||||
//Console.Write($" | Clip: ({clipCmd.Rect.X},{clipCmd.Rect.Y},{clipCmd.Rect.W},{clipCmd.Rect.H})");
|
//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;
|
break;
|
||||||
case MuJumpCommand jumpCmd:
|
case MuJumpCommand jumpCmd:
|
||||||
//Console.Write($" | Jump to: {jumpCmd.DestinationIndex}");
|
//Console.Write($" | Jump to: {jumpCmd.DestinationIndex}");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user