GuiScrollPanel method

GuiResult GuiScrollPanel(
  1. RectangleD bounds,
  2. String? text,
  3. RectangleD content, {
  4. Vector2D? scroll,
  5. RectangleD? view,
})

Scroll Panel control

Implementation

GuiResult GuiScrollPanel(
  RectangleD bounds,
  String? text,
  RectangleD content, {
  Vector2D? scroll,
  RectangleD? view,
}) => run(
  () => _debugLabels.GuiScrollPanel(bounds, text, content, scroll: scroll, view: view),
  () => .fromValue(_flat.GuiScrollPanel(
    bounds,
    $.String$.ValueOrNull(text),
    content,
    $.Vector2$.RefUnique(scroll),
    $.Rectangle$.RefUnique(view),
  )),
);