Lays out a row of equal tiles that wraps onto more lines when the region is too narrow for them all (small windows, large UI scale).
More...
#include <widgets.h>
|
| | TileRow (int count, float minimumWidth=175.0f) |
| |
| float | width () const |
| | Width for each tile.
|
| |
| void | next () |
| | Call before each tile; keeps it on the row or wraps.
|
| |
Lays out a row of equal tiles that wraps onto more lines when the region is too narrow for them all (small windows, large UI scale).
◆ TileRow()
| UI::TileRow::TileRow |
( |
int |
count, |
|
|
float |
minimumWidth = 175.0f |
|
) |
| |
|
explicit |
◆ next()
| void UI::TileRow::next |
( |
| ) |
|
Call before each tile; keeps it on the row or wraps.
◆ width()
| float UI::TileRow::width |
( |
| ) |
const |
|
inline |
◆ index
| int UI::TileRow::index = 0 |
|
private |
◆ per_row
| int UI::TileRow::per_row = 1 |
|
private |
◆ tile_width
| float UI::TileRow::tile_width = 0.0f |
|
private |
The documentation for this class was generated from the following files: