A text channel, one of three, which types decoded text into a window a few characters a frame and runs its control codes. More...
#include <graphics/uiwindow.h>
Data Fields | |
| struct UiWindow * | work |
| the window typed into; NULL when free | |
| u16 | x |
| pen, 8.8 fixed-point pixels | |
| u16 | y |
| pen, 8.8 fixed-point pixels | |
| u16 | spacing [4] |
| Extra advance per line, in 1/256 pixels: after every character in Japanese, after a space in the other editions. | |
| u16 | line |
| line of the page, indexes spacing; at most 3 | |
| u16 | entry |
| next code in UiRenderWork.entries | |
| u16 | countdown |
| frames left of a pause, a page wait or a swell | |
| u16 | colour |
| text colour; 15 by default | |
| u16 | outline |
| outline colour; 0 for none | |
| u16 | lineSpacing |
| 10 by default | |
| u16 | transition |
| frames left of the canvas scrolling up a line | |
| u16 | startX |
| pen x each new line returns to, 8.8 fixed-point pixels | |
| u16 | ended |
| 1 once a TEXT_END code is reached | |
| u16 | glyphDelay |
| frames to wait after a glyph while no button is held | |
| u16 | flags |
| nonzero keeps the window's size from page to page | |
| u16 | unk26 |
| not named by TBS code | |
A text channel, one of three, which types decoded text into a window a few characters a frame and runs its control codes.
Definition at line 43 of file uiwindow.h.
| struct UiWindow* UiChannelSlot::work |
the window typed into; NULL when free
Definition at line 44 of file uiwindow.h.
Referenced by DjinnMenu_ShowHelp(), UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWindow_StepSwellEffect(), UiWork_DrainPending(), UiWork_FinalizePendingCore(), UiWork_IsComplete(), UiWork_ProcessRenderChannels(), UiWork_ResetFreeChannel(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::x |
pen, 8.8 fixed-point pixels
Definition at line 45 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWork_ProcessRenderChannels(), UiWork_ResetFreeChannel(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::y |
pen, 8.8 fixed-point pixels
Definition at line 46 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWork_ProcessRenderChannels(), UiWork_ResetFreeChannel(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::spacing[4] |
Extra advance per line, in 1/256 pixels: after every character in Japanese, after a space in the other editions.
Definition at line 49 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), UiText_StartBattleMessage(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::line |
line of the page, indexes spacing; at most 3
Definition at line 50 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), UiText_StartBattleMessage(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::entry |
next code in UiRenderWork.entries
Definition at line 51 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWork_ProcessRenderChannels(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::countdown |
frames left of a pause, a page wait or a swell
Definition at line 52 of file uiwindow.h.
Referenced by UiText_CheckPauseSkipped(), UiText_CheckTextDismissed(), UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWindow_StepSwellEffect(), UiWork_ProcessRenderChannels(), UiWork_ResetFreeChannel(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::colour |
text colour; 15 by default
Definition at line 53 of file uiwindow.h.
Referenced by UiText_ApplyChannelStyle(), UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWork_ProcessRenderChannels(), UiWork_ResetFreeChannel(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::outline |
outline colour; 0 for none
Definition at line 54 of file uiwindow.h.
Referenced by UiText_ApplyChannelStyle(), UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWork_ProcessRenderChannels(), UiWork_ResetFreeChannel(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::lineSpacing |
10 by default
Definition at line 55 of file uiwindow.h.
Referenced by UiText_ApplyChannelStyle(), UiText_QueueRenderEntries(), UiText_StartBattleMessage(), UiWork_ProcessRenderChannels(), UiWork_ResetFreeChannel(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::transition |
frames left of the canvas scrolling up a line
Definition at line 56 of file uiwindow.h.
Referenced by UiText_StartCanvasScroll(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::startX |
pen x each new line returns to, 8.8 fixed-point pixels
Definition at line 57 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), UiText_StartBattleMessage(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::ended |
1 once a TEXT_END code is reached
Definition at line 58 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), UiText_StartBattleMessage(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::glyphDelay |
frames to wait after a glyph while no button is held
Definition at line 59 of file uiwindow.h.
Referenced by UiWork_StepChannelScript().
| u16 UiChannelSlot::flags |
nonzero keeps the window's size from page to page
Definition at line 60 of file uiwindow.h.
Referenced by UiText_QueueRenderEntries(), and UiWork_StepChannelScript().
| u16 UiChannelSlot::unk26 |
not named by TBS code
Definition at line 61 of file uiwindow.h.