#pragma once

// Dashboard grid — distributes child widgets in N columns.
// Usage:
//   dashboard_grid_begin(3);
//   // widget 1 (auto placed in col 0)
//   dashboard_grid_next();
//   // widget 2 (auto placed in col 1)
//   dashboard_grid_next();
//   // widget 3 (auto placed in col 2, wraps to next row)
//   dashboard_grid_next();
//   // widget 4 (col 0 of row 2)
//   dashboard_grid_end();

void dashboard_grid_begin(int columns = 2, float spacing = 8.0f);
void dashboard_grid_next();  // advance to next cell
void dashboard_grid_end();
