#include <FlexGrid.h>
HoverRace::Display::FlexGrid::DefaultCell::DefaultCell |
( |
| ) |
|
|
inline |
HoverRace::Display::FlexGrid::DefaultCell::DefaultCell |
( |
DefaultCell && |
o | ) |
|
|
inline |
virtual HoverRace::Display::FlexGrid::DefaultCell::~DefaultCell |
( |
| ) |
|
|
inlinevirtual |
bool HoverRace::Display::FlexGrid::DefaultCell::Contains |
( |
const UiViewModel * |
child | ) |
const |
|
inlineoverrideprotectedvirtual |
Check if this contains the specified widget.
- Parameters
-
child | The child to check (may be nullptr ). |
- Returns
true
if the cell contains the widget, false
otherwise.
Implements HoverRace::Display::FlexGrid::Cell.
void HoverRace::Display::FlexGrid::DefaultCell::DropFocus |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Alignment HoverRace::Display::FlexGrid::DefaultCell::GetAlignment |
( |
| ) |
const |
|
inline |
bool HoverRace::Display::FlexGrid::DefaultCell::IsFill |
( |
| ) |
const |
|
inline |
Vec3 HoverRace::Display::FlexGrid::DefaultCell::Measure |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
bool HoverRace::Display::FlexGrid::DefaultCell::OnAction |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
bool HoverRace::Display::FlexGrid::DefaultCell::OnNavigate |
( |
const Control::Nav & |
| ) |
|
|
inlineoverrideprotectedvirtual |
void HoverRace::Display::FlexGrid::DefaultCell::SetAlignment |
( |
Alignment |
alignment | ) |
|
|
inlineoverridevirtual |
Set the how the widget is aligned inside the cell when the cell is larger than the widget.
- Parameters
-
alignment | The alignment (default is NW ). |
Implements HoverRace::Display::FlexGrid::Cell.
void HoverRace::Display::FlexGrid::DefaultCell::SetExtents |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
w, |
|
|
double |
h, |
|
|
double |
paddingX, |
|
|
double |
paddingY |
|
) |
| |
|
inlineoverrideprotectedvirtual |
Set the position and size of the cell.
- Parameters
-
x | The X position of the cell. |
y | The Y position of the cell. |
w | The width of the cell. |
h | The height of the cell. |
paddingX | The horizontal padding on the cell. |
paddingY | The vertical padding on the cell. |
Implements HoverRace::Display::FlexGrid::Cell.
void HoverRace::Display::FlexGrid::DefaultCell::SetFill |
( |
bool |
fill | ) |
|
|
inlineoverridevirtual |
Set whether the widget is resized to fill the space of the cell.
If the widget cannot be resized, then nothing will be done.
- Parameters
-
fill | true To resize the widget, false to leave it alone. |
Implements HoverRace::Display::FlexGrid::Cell.
bool HoverRace::Display::FlexGrid::DefaultCell::TryFocus |
( |
const Control::Nav & |
nav | ) |
|
|
inlineoverrideprotectedvirtual |
Alignment HoverRace::Display::FlexGrid::DefaultCell::alignment |
|
private |
bool HoverRace::Display::FlexGrid::DefaultCell::fill |
|
private |
The documentation for this class was generated from the following file: