GuiTabBar method

(int, int) GuiTabBar(
  1. RectangleD bounds,
  2. List<String> text
)

Implementation

(int tab, int active) GuiTabBar(
  RectangleD bounds,
  List<String> text,
) => run(
  () => 'GuiTabBar($bounds, text: ${text.length})',
  () {
    final active = rl.Temp.Int$.Ref1();
    final currentTabClosingRequested = rl.Gui.GuiTabBar(
      rl.Temp.Rectangle$.Ref1(bounds).ref,
      rl.Temp.String$.Array(text),
      text.length,
      active,
    );
    return (currentTabClosingRequested, active.value);
  },
);