Layout of sports pins (LayoutIdSports).
More...
Layout of sports pins (LayoutIdSports).
◆ SportsLayout
| Data Fields |
|
GameState |
state |
Game state, from AttributeIdSportsGameState. |
|
TimelineLayout |
timeline_layout |
Base timeline layout. |
◆ GameState
State of a game, the value of AttributeIdSportsGameState.
| Enumerator |
|---|
| GameStatePreGame | Before the game; the card shows the start time.
|
| GameStateInGame | The game is being played; the card shows the scores.
|
| GameStatePostGame | The game is over.
|
◆ sports_layout_create()
Create a sports layout.
- Parameters
-
- Returns
- New layout, allocated on the calling task's heap.
◆ sports_layout_verify()
| bool sports_layout_verify |
( |
bool |
existing_attributes[] | ) |
|
Check the attributes of a sports pin.
- Parameters
-
| existing_attributes | Array of NumAttributeIds flags, indexed by AttributeId. |
- Returns
- true if a title is present.