GuiScrollPanel method

int GuiScrollPanel(
  1. RectangleD bounds,
  2. String? text,
  3. RectangleD content,
  4. Vector2D scroll, [
  5. RectangleD? view,
])

Implementation

int GuiScrollPanel(
  RectangleD bounds,
  String? text,
  RectangleD content,
  Vector2D scroll,
  [RectangleD? view]
) => run(
  () => 'GuiScrollPanel($bounds, $text, $content, $scroll, $view)',
  () => _refUpdateVector2(scroll,
    (ps) => _refUpdateRectangle(view,
      (pv) => rl.Gui.GuiScrollPanel(
        _refRectangle2(bounds).ref,
        refStr(text),
        _refRectangle3(content).ref,
        ps,
        pv,
      ),
    ),
  ),
);