An icon of the selection screen: its list links, the entry it shows, its place and its slide toward a target, its zoom and its sprite. More...
#include <menu/select.h>
Data Fields | |
| struct SelectionNode * | prev |
| the icon before it in its row | |
| struct SelectionNode * | next |
| the icon after it in its row | |
| u16 | base |
| the entry's id, as listed in SelectionScreen.bases | |
| u16 | kind |
| the entry's kind, as listed in SelectionScreen.kinds; 0 free | |
| u16 | slot |
| VRAM cache slot of its picture. | |
| u16 | tile |
| first sprite tile of its picture | |
| s16 | x |
| screen pixels | |
| s16 | y |
| screen pixels | |
| s16 | dx |
| pixels a frame | |
| s16 | dy |
| pixels a frame | |
| s16 | targetX |
| screen pixels | |
| s16 | targetY |
| screen pixels | |
| s16 | homeX |
| screen pixels, where it stood when chosen | |
| s16 | homeY |
| screen pixels, where it stood when chosen | |
| u16 | message |
| its name, shown in the screen's window | |
| s16 | scale |
| 8.8 fixed point, 0x100 full size | |
| s16 | scaleStep |
| 8.8 fixed point a frame | |
| s16 | scaleEnd |
| 8.8 fixed point, 0x100 full size | |
| struct SelectionSprite | sprite |
An icon of the selection screen: its list links, the entry it shows, its place and its slide toward a target, its zoom and its sprite.
| struct SelectionNode* SelectionNode::prev |
the icon before it in its row
Definition at line 32 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), and MenuSelection_BuildEntries().
| struct SelectionNode* SelectionNode::next |
the icon after it in its row
Definition at line 33 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), Menu_SendNodeCountList(), Menu_SetNodeCoordinates(), Menu_StepLeft(), Menu_StepRight(), MenuSelection_BuildEntries(), Resource_ResetOwnerEntries(), Selection_GetCursorNode(), SelectionScreen_Draw(), SelectionScreen_HighlightIcon(), and SelectionScreen_RedrawIcon().
| u16 SelectionNode::base |
the entry's id, as listed in SelectionScreen.bases
Definition at line 34 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_MoveSelectionBackward(), Menu_MoveSelectionForward(), Menu_ScrollSelectionList(), Menu_StepLeft(), Menu_StepRight(), MenuSelection_BuildEntries(), SelectionScreen_Draw(), SelectionScreen_DrawArrow(), SelectionScreen_LoadLargeIcon(), SelectionScreen_SetupArrow(), SelectionScreen_SetupIcon(), and UiGlyph_ResetWorkState().
| u16 SelectionNode::kind |
the entry's kind, as listed in SelectionScreen.kinds; 0 free
Definition at line 35 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_MoveSelectionBackward(), Menu_MoveSelectionForward(), Menu_ScrollSelectionList(), Menu_StepLeft(), Menu_StepRight(), Menu_WaitForSelectionInput(), MenuSelection_BuildEntries(), Resource_ResetOwnerEntries(), Resource_ResetPendingTransfer(), SelectionScreen_Draw(), SelectionScreen_DrawArrow(), SelectionScreen_FindFreeIcon(), SelectionScreen_HighlightIcon(), SelectionScreen_LoadLargeIcon(), SelectionScreen_RedrawIcon(), SelectionScreen_SetupArrow(), SelectionScreen_SetupIcon(), and UiGlyph_ResetWorkState().
| u16 SelectionNode::slot |
VRAM cache slot of its picture.
Definition at line 36 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), Resource_ResetOwnerEntries(), Resource_ResetPendingTransfer(), SelectionScreen_Draw(), SelectionScreen_DrawArrow(), SelectionScreen_HighlightIcon(), SelectionScreen_LoadLargeIcon(), SelectionScreen_RedrawIcon(), SelectionScreen_SetupArrow(), SelectionScreen_SetupIcon(), and UiGlyph_ResetWorkState().
| u16 SelectionNode::tile |
first sprite tile of its picture
Definition at line 37 of file select.h.
Referenced by Menu_ConfirmSelection(), SelectionScreen_Draw(), SelectionScreen_HighlightIcon(), SelectionScreen_LoadLargeIcon(), SelectionScreen_RedrawIcon(), SelectionScreen_SetupArrow(), SelectionScreen_SetupIcon(), and UiGlyph_ResetWorkState().
| s16 SelectionNode::x |
screen pixels
Definition at line 38 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), Menu_SetNodeCoordinates(), Menu_StepLeft(), Menu_StepRight(), MenuSelection_BuildEntries(), SelectionScreen_Draw(), SelectionScreen_DrawArrow(), and SelectionScreen_SetupArrow().
| s16 SelectionNode::y |
screen pixels
Definition at line 39 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), Menu_SetNodeCoordinates(), Menu_StepRight(), MenuSelection_BuildEntries(), Resource_ResetOwnerEntries(), SelectionScreen_Draw(), SelectionScreen_DrawArrow(), SelectionScreen_SetupArrow(), and UiGlyph_ResetWorkState().
| s16 SelectionNode::dx |
pixels a frame
Definition at line 40 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), Menu_StepLeft(), Menu_StepRight(), MenuSelection_BuildEntries(), and SelectionScreen_Draw().
| s16 SelectionNode::dy |
pixels a frame
Definition at line 41 of file select.h.
Referenced by Menu_ConfirmSelection(), MenuSelection_BuildEntries(), and SelectionScreen_Draw().
| s16 SelectionNode::targetX |
screen pixels
Definition at line 42 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), Menu_SetNodeCoordinates(), Menu_StepLeft(), Menu_StepRight(), MenuSelection_BuildEntries(), and SelectionScreen_Draw().
| s16 SelectionNode::targetY |
screen pixels
Definition at line 43 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), Menu_SetNodeCoordinates(), Menu_StepRight(), MenuSelection_BuildEntries(), and SelectionScreen_Draw().
| s16 SelectionNode::homeX |
screen pixels, where it stood when chosen
Definition at line 44 of file select.h.
Referenced by Menu_ConfirmSelection().
| s16 SelectionNode::homeY |
screen pixels, where it stood when chosen
Definition at line 45 of file select.h.
Referenced by Menu_ConfirmSelection().
| u16 SelectionNode::message |
its name, shown in the screen's window
Definition at line 46 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_OpenSelectionWindow(), SelectionScreen_HighlightIcon(), SelectionScreen_RedrawIcon(), and SelectionScreen_SetupIcon().
| s16 SelectionNode::scale |
8.8 fixed point, 0x100 full size
Definition at line 47 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), SelectionScreen_Draw(), SelectionScreen_LoadLargeIcon(), SelectionScreen_SetupIcon(), and UiGlyph_ResetWorkState().
| s16 SelectionNode::scaleStep |
8.8 fixed point a frame
Definition at line 48 of file select.h.
Referenced by Menu_ScrollSelectionList(), SelectionScreen_Draw(), and SelectionScreen_LoadLargeIcon().
| s16 SelectionNode::scaleEnd |
8.8 fixed point, 0x100 full size
Definition at line 49 of file select.h.
Referenced by Menu_ConfirmSelection(), Menu_ScrollSelectionList(), SelectionScreen_Draw(), SelectionScreen_LoadLargeIcon(), and SelectionScreen_SetupIcon().
| struct SelectionSprite SelectionNode::sprite |
Definition at line 50 of file select.h.
Referenced by Menu_ConfirmSelection(), SelectionScreen_Draw(), SelectionScreen_DrawArrow(), SelectionScreen_SetupArrow(), SelectionScreen_SetupIcon(), and UiGlyph_ResetWorkState().