GuiGrid method

  1. @override
int GuiGrid(
  1. RectangleD bounds,
  2. num spacing,
  3. num subdivs, [
  4. Vector2D? mouseCell,
])
override

Implementation

@override
int GuiGrid(
  RectangleD bounds,
  num spacing,
  num subdivs,
  [Vector2D? mouseCell]
) => run(
  () => RaylibDebugLabels.GuiGrid(bounds, spacing, subdivs, mouseCell),
  () => rl.Temp.Vector2$.RefUpdate1(mouseCell,
    (pv) => rl.Gui.GuiGrid.run5(
      rl.Temp.Rectangle$.Ref1(bounds).toJS,
      0.toJS, // `text`, it's not used at all
      spacing.toJS,
      subdivs.toJS,
      pv.toJS,
    ).toInt(),
  ),
);