A window: a framed rectangle of the tilemap with its sprite outputs, its opening or closing animation and the rectangle it last drew. More...
#include <graphics/uiwindow.h>
Data Fields | |
| struct RenderOutputList | output |
| the sprites the window carries | |
| u16 | width |
| tiles | |
| u16 | height |
| tiles | |
| u16 | x |
| tiles | |
| u16 | y |
| tiles | |
| u16 | unk10 |
| 1 once opened, 0 once freed; not read by name in TBS | |
| u16 | effect |
| The effect a message's TEXT_WINDOW_STATE code sets. | |
| u16 | state |
| 0 while a message channel is typing into the window; 1 once its text has ended or closed the window, which frees the channel for the next text. | |
| u16 | flags |
| UI_WINDOW_ flags; 0 once closing or free. | |
| u16 | frame |
| The zoom's step: counts down from 7 to 0 while opening, and up from 0 to duration while closing. | |
| s16 | duration |
| frames of the zoom under way; 0 when none | |
| u16 | previousX |
| tiles | |
| u16 | previousY |
| tiles | |
| u16 | previousWidth |
| tiles | |
| u16 | previousHeight |
| tiles | |
A window: a framed rectangle of the tilemap with its sprite outputs, its opening or closing animation and the rectangle it last drew.
Definition at line 11 of file uiwindow.h.
| struct RenderOutputList UiWindow::output |
the sprites the window carries
Definition at line 12 of file uiwindow.h.
Referenced by BattleEnemyList(), BattleParty_ListLivingUnits(), DjinnMenu_ShowChangePreview(), NameEntry_EditOwnerName(), RenderOutput_Create(), UiText_DrawGlyph(), UiWindow_Create(), UiWindow_PutGlyph(), UiWork_AnimateSpriteSlots(), UiWork_Finalize(), UiWork_FinalizeEntityMatchingLocalizedId(), and UiWork_ProcessDirectWork().
| u16 UiWindow::width |
tiles
Definition at line 13 of file uiwindow.h.
Referenced by Battle_SelectAbility(), BattleMenu_RunActionSelection(), BattleTarget_RunSelection(), DjinnMenu_ShowOwnerStatus(), InventoryMenu_ShowModalMessage(), ItemList_SelectEntry(), Menu_OpenSelectionWindow(), NameEntry_EditOwnerName(), OwnerAction_RunCompareLoop(), PartyStatusDraw(), RenderOutput_RedrawSavedRect(), SaveMenu_FillTileGrid(), SummonMenu_SelectSummon(), Ui_RunOwnerStatusScreen(), UiText_DrawGlyph(), UiText_OpenMessageWindow(), UiText_ShowCenteredMessage(), UiText_ShowPositionedMessageAndWait(), UiWindow_CopyTilemapRegion(), UiWindow_Create(), UiWindow_DrawColumnBorders(), UiWindow_DrawOpened(), UiWindow_DrawZoomFrame(), UiWindow_PutGlyph(), UiWindow_SetBounds(), UiWindow_SetTilemapEntry(), UiWindow_StepSwellEffect(), UiWork_Finalize(), UiWork_ProcessDirectWork(), and UiWork_StepChannelScript().
| u16 UiWindow::height |
tiles
Definition at line 14 of file uiwindow.h.
Referenced by Event_AskYesNoWithActorAnimation(), InventoryMenu_ShowModalMessage(), PartyStatusDraw(), RenderOutput_RedrawSavedRect(), SystemMenu_Open(), Ui_RunOwnerStatusScreen(), UiText_DrawGlyph(), UiText_DrawGlyphArm(), UiText_OpenMessageWindow(), UiText_ShowCenteredMessage(), UiText_ShowPositionedMessageAndWait(), UiWindow_CopyTilemapRegion(), UiWindow_Create(), UiWindow_DrawColumnBorders(), UiWindow_DrawOpened(), UiWindow_DrawZoomFrame(), UiWindow_PutGlyph(), UiWindow_SetBounds(), UiWindow_SetTilemapEntry(), UiWindow_StepSwellEffect(), UiWork_Finalize(), UiWork_ProcessDirectWork(), and UiWork_StepChannelScript().
| u16 UiWindow::x |
tiles
Definition at line 15 of file uiwindow.h.
Referenced by Battle_CollectPartyCommands(), Battle_SelectAbility(), BattleEvent_Playback(), BattleMenu_RunActionSelection(), BattlePresentation_WaitForAdvance(), DebugMenu_BrowseIcons(), DjinnMenu_ShowChangePreview(), InventoryMenu_ShowModalMessage(), ItemList_SelectEntry(), ItemMenu_SelectTarget(), LuckyDice_Run(), Menu_RunConfirmSelectionAt(), Menu_RunWorkspaceOptions(), Menu_RunWorkspaceSelectionLoop(), NameEntry_EditOwnerName(), OptionMenu_Open(), PartyStatusDraw(), PartyTalkMenu_Choose(), PsynergyMenu_InitializeEntryObjects(), ReelGame_Run(), Render_SetTilemapFlagRect(), RenderOutput_Create(), RenderOutput_RedrawSavedRect(), Sanctum_ChooseRestartOption(), SaveMenu_FillTileBlock(), SaveMenu_FillTileGrid(), SaveMenu_SelectSlot(), SaveMenu_ShowDjinnSprites(), SaveMenu_ShowPartySprites(), Shop_PlaceCursor(), Shop_SelectRepair(), Shop_SelectSell(), Shop_SelectUse(), SummonMenu_SelectSummon(), SystemMenu_Open(), Ui_RunOwnerStatusScreen(), UiIcon_CreateStatChangeArrow(), UiIcon_DrawVariantWithTileOffset(), UiText_DrawCharacterAtOffset(), UiText_DrawGlyph(), UiText_DrawPrefixedNumberAtOffset(), UiText_DrawStringAtOffset(), UiText_RenderGlyphTileAtWorkOffset(), UiText_ShowCenteredMessage(), UiText_ShowMessageAndWaitComplete(), UiText_ShowPositionedMessageAndWait(), UiWindow_ClearInteriorTiles(), UiWindow_CopyTilemapRegion(), UiWindow_Create(), UiWindow_CreateWithSideObject(), UiWindow_DrawColumnBorders(), UiWindow_DrawDividerLine(), UiWindow_DrawOpened(), UiWindow_DrawStatusBarTiles(), UiWindow_DrawZoomFrame(), UiWindow_FillTilemapRect(), UiWindow_PutGlyph(), UiWindow_SetBounds(), UiWindow_SetInteriorPaletteBitRect(), UiWindow_SetTileAttributeBitRect(), UiWindow_SetTileAttributeRect(), UiWindow_SetTilemapEntry(), UiWindow_StepSwellEffect(), UiWindow_UpdateOrCreate(), UiWork_Finalize(), UiWork_ProcessDirectWork(), and UiWork_StepChannelScript().
| u16 UiWindow::y |
tiles
Definition at line 16 of file uiwindow.h.
Referenced by Battle_CollectPartyCommands(), Battle_SelectAbility(), BattleEvent_Playback(), BattleMenu_RunActionSelection(), BattlePresentation_WaitForAdvance(), BattleTarget_RunSelection(), Debug_SelectAbilityPair(), DebugMenu_BrowseIcons(), DjinnMenu_ShowChangePreview(), DjinnMenu_ShowHelp(), DjinnMenu_ShowOwnerStatus(), Event_AskYesNoWithActorAnimation(), InventoryMenu_ShowModalMessage(), ItemList_SelectEntry(), LuckyDice_Run(), Menu_DrawFlagBitTable(), Menu_RunConfirmSelectionAt(), Menu_RunWorkspaceOptions(), Menu_RunWorkspaceSelectionLoop(), NameEntry_EditOwnerName(), OptionMenu_Open(), OwnerAction_RunCompareLoop(), PartyTalkMenu_Choose(), PsynergyMenu_InitializeEntryObjects(), ReelGame_Run(), Render_SetTilemapFlagRect(), RenderOutput_Create(), RenderOutput_RedrawSavedRect(), SaveMenu_FillTileBlock(), SaveMenu_FillTileGrid(), SaveMenu_Run(), SaveMenu_SelectSlot(), SaveMenu_ShowDjinnSprites(), SaveMenu_ShowPartySprites(), Shop_PlaceCursor(), Shop_SelectRepair(), Shop_SelectUse(), SummonMenu_SelectSummon(), SystemMenu_Open(), Ui_RunOwnerStatusScreen(), UiText_DrawCharacterAtOffset(), UiText_DrawGlyph(), UiText_DrawPrefixedNumberAtOffset(), UiText_DrawStringAtOffset(), UiText_RenderGlyphTileAtWorkOffset(), UiText_ShowCenteredMessage(), UiText_ShowMessageAndWaitComplete(), UiText_ShowPositionedMessageAndWait(), UiWindow_ClearInteriorTiles(), UiWindow_CopyTilemapRegion(), UiWindow_Create(), UiWindow_CreateWithSideObject(), UiWindow_DrawColumnBorders(), UiWindow_DrawDividerLine(), UiWindow_DrawOpened(), UiWindow_DrawStatusBarTiles(), UiWindow_DrawZoomFrame(), UiWindow_PutGlyph(), UiWindow_SetBounds(), UiWindow_SetInteriorPaletteBitRect(), UiWindow_SetTileAttributeBitRect(), UiWindow_SetTileAttributeRect(), UiWindow_SetTilemapEntry(), UiWindow_StepSwellEffect(), UiWindow_UpdateOrCreate(), UiWork_Finalize(), UiWork_ProcessDirectWork(), and UiWork_StepChannelScript().
| u16 UiWindow::unk10 |
1 once opened, 0 once freed; not read by name in TBS
Definition at line 17 of file uiwindow.h.
Referenced by UiWindow_Create(), UiWork_Finalize(), and UiWork_ProcessDirectWork().
| u16 UiWindow::effect |
The effect a message's TEXT_WINDOW_STATE code sets.
Only UI_WINDOW_EFFECT_SWELL (4) is acted on; its channel types nothing more until the swell ends and clears it.
Definition at line 21 of file uiwindow.h.
Referenced by UiWindow_StepSwellEffect(), UiWork_AnimateSpriteSlots(), UiWork_Finalize(), UiWork_ProcessDirectWork(), UiWork_ProcessRenderChannels(), and UiWork_StepChannelScript().
| u16 UiWindow::state |
0 while a message channel is typing into the window; 1 once its text has ended or closed the window, which frees the channel for the next text.
Definition at line 24 of file uiwindow.h.
Referenced by Battle_CollectPartyCommands(), DjinnMenu_ShowHelp(), Inn_CheckIn(), LuckyDice_Run(), Menu_DrawOwnerStatusPanel(), ReelGame_InitTitle(), ReelGame_Run(), UiText_ShowPositionedMessageAndWait(), UiText_StartBattleMessage(), UiWindow_Create(), UiWork_Finalize(), UiWork_FinalizePendingCore(), UiWork_IsComplete(), UiWork_ProcessDirectWork(), UiWork_ProcessRenderChannels(), and UiWork_ResetFreeChannel().
| u16 UiWindow::flags |
UI_WINDOW_ flags; 0 once closing or free.
Definition at line 25 of file uiwindow.h.
Referenced by BattlePres_RunActionThenWaitIfModeZero(), FieldEvent_ShowMessageAndWait(), RenderOutput_PrepareForRedraw(), UiText_DrawGlyph(), UiText_DrawGlyphArm(), UiText_OpenMessageAtObject(), UiText_OpenMessageWindow(), UiText_RenderWideStringAtOffset(), UiText_ShowPositionedMessageAndWait(), UiTimedNotice_CloseIfActive(), UiWindow_Create(), UiWindow_DrawOpened(), UiWindow_UpdateOrCreate(), UiWindow_WaitZoom(), UiWork_AnimateSpriteSlots(), UiWork_DrainPending(), UiWork_Finalize(), UiWork_FinalizePendingCore(), UiWork_IsIdle(), UiWork_ProcessDirectWork(), UiWork_ProcessRenderChannels(), and UiWork_StepChannelScript().
| u16 UiWindow::frame |
The zoom's step: counts down from 7 to 0 while opening, and up from 0 to duration while closing.
Definition at line 28 of file uiwindow.h.
Referenced by DjinnMenu_ShowHelp(), DjinnMenu_ShowOwnerStatus(), LuckyDice_Run(), NameEntry_EditOwnerName(), OwnerAction_RunCompareLoop(), ReelGame_Run(), UiWindow_Create(), UiWindow_DrawZoomFrame(), UiWork_DrainPending(), UiWork_Finalize(), UiWork_FinalizePendingCore(), UiWork_ProcessDirectWork(), and UiWork_ProcessRenderChannels().
| s16 UiWindow::duration |
frames of the zoom under way; 0 when none
Definition at line 29 of file uiwindow.h.
Referenced by DjinnMenu_ShowHelp(), UiWindow_Create(), UiWindow_DrawOpened(), UiWindow_DrawZoomFrame(), UiWindow_WaitZoom(), UiWork_DrainPending(), UiWork_Finalize(), UiWork_FinalizePendingCore(), UiWork_IsIdle(), UiWork_ProcessDirectWork(), and UiWork_ProcessRenderChannels().
| u16 UiWindow::previousX |
tiles
Definition at line 30 of file uiwindow.h.
Referenced by UiWindow_DrawZoomFrame(), UiWork_Finalize(), and UiWork_ProcessDirectWork().
| u16 UiWindow::previousY |
tiles
Definition at line 31 of file uiwindow.h.
Referenced by UiWindow_DrawZoomFrame(), UiWork_Finalize(), and UiWork_ProcessDirectWork().
| u16 UiWindow::previousWidth |
tiles
Definition at line 32 of file uiwindow.h.
Referenced by UiWindow_DrawZoomFrame(), UiWork_Finalize(), and UiWork_ProcessDirectWork().
| u16 UiWindow::previousHeight |
tiles
Definition at line 33 of file uiwindow.h.
Referenced by UiWindow_DrawZoomFrame(), UiWork_Finalize(), and UiWork_ProcessDirectWork().