GuiColorPanel method
Color Panel control
Implementation
(GuiResult result, ColorD color) GuiColorPanel(
RectangleD bounds,
ColorD color,
) => run(
() => _debugLabels.GuiColorPanel(bounds, color),
() {
final valuePtr = $.Color$.Ref1(color);
final result = _flat.GuiColorPanel(
bounds,
MemoryPointer.nullptr(), // `text` is not used at all
valuePtr,
);
return (.fromValue(result), valuePtr.value);
},
);