GuiColorPanelHSV method

(GuiResult, Vector3D) GuiColorPanelHSV(
  1. RectangleD bounds, [
  2. Vector3D? colorHsv
])

Color Panel control, using Hue-Saturation-Value color data

Implementation

(GuiResult result, Vector3D hsv) GuiColorPanelHSV(
  RectangleD bounds,
  [Vector3D? colorHsv]
) => run(
  () => _debugLabels.GuiColorPanelHSV(bounds, colorHsv),
  () {
    final valuePtr = $.Vector3$.Ref1(colorHsv);
    final result = _flat.GuiColorPanelHSV(
      bounds,
      MemoryPointer.nullptr(), // `text` is not used at all
      valuePtr,
    );
    return (.fromValue(result), valuePtr.value);
  },
);