internal static void RenderColorCross(LGuiRect ColorRect, float Saturation, float Value) { var CrossX = ColorRect.X + ColorRect.Width * Saturation; var CrossY = ColorRect.Y + ColorRect.Height * (1 - Value); LGuiGraphics.DrawLine(new LGuiVec2(CrossX - 5, CrossY), new LGuiVec2(CrossX + 5, CrossY), LGuiColor.White); LGuiGraphics.DrawLine(new LGuiVec2(CrossX, CrossY - 5), new LGuiVec2(CrossX, CrossY + 5), LGuiColor.White); }
internal static void OnProcess(LGuiColor Color, LGuiVec2 BeginPos, LGuiVec2 EndPos) { LGuiGraphics.DrawLine(BeginPos, EndPos, Color); }