![]() |
Rise
The Vieneo Province
|
#include <CargoManifestList.h>
Classes | |
| struct | Row |
Public Member Functions | |
| CargoManifestList (int height) | |
| void | Add (const wchar_t *text, std::uint32_t color, const std::string &type="", int value=0) |
| void | UpdateView () |
| void | MoveSelection (int direction) |
| bool | HandleNavigationKey (short key, bool shift, unsigned int keyboardDelay=1, unsigned int keyboardSpeed=31) |
| void | CancelKeyRepeat () |
| bool | UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed) |
| int | ScreenRow (int row) const |
| bool | MoreBelow () const |
Public Attributes | |
| std::vector< Row > | rows |
| int | selected = 0 |
| int | offset = 0 |
| const int | controlsY |
| const int | moreY |
| const int | visibleRows |
Static Public Attributes | |
| static constexpr int | HeaderRows = 2 |
| static constexpr int | LineHeight = 12 |
Private Attributes | |
| short | repeatKey = -1 |
| int | repeatDirection = 0 |
| double | repeatRemaining = 0.0 |
| double | repeatInterval = 1.0 / 30.0 |
Definition at line 9 of file CargoManifestList.h.
|
inlineexplicit |
|
inline |
|
inline |
Definition at line 73 of file CargoManifestList.h.
|
inline |
Definition at line 61 of file CargoManifestList.h.
|
inline |
|
inline |
| const int CargoManifestList::controlsY |
Definition at line 31 of file CargoManifestList.h.
|
staticconstexpr |
Definition at line 17 of file CargoManifestList.h.
|
staticconstexpr |
Definition at line 18 of file CargoManifestList.h.
| const int CargoManifestList::moreY |
Definition at line 32 of file CargoManifestList.h.
| int CargoManifestList::offset = 0 |
Definition at line 30 of file CargoManifestList.h.
|
private |
Definition at line 12 of file CargoManifestList.h.
|
private |
Definition at line 14 of file CargoManifestList.h.
|
private |
Definition at line 11 of file CargoManifestList.h.
|
private |
Definition at line 13 of file CargoManifestList.h.
| std::vector<Row> CargoManifestList::rows |
Definition at line 28 of file CargoManifestList.h.
| int CargoManifestList::selected = 0 |
Definition at line 29 of file CargoManifestList.h.
| const int CargoManifestList::visibleRows |
Definition at line 33 of file CargoManifestList.h.