Alchemy
Loading...
Searching...
No Matches

uiwindow.h File Reference

UiWindow, a window's work, and marking its tilemap rows for transfer. More...

Go to the source code of this file.

Data Structures

struct  UiWindow
 A window: a framed rectangle of the tilemap with its sprite outputs, its opening or closing animation and the rectangle it last drew. More...
struct  UiChannelSlot
 A text channel, one of three, which types decoded text into a window a few characters a frame and runs its control codes. More...

Macros

#define UiRender_MarkRow(render, y)
 Requests transfer of the four-row tilemap band containing window row y.

Functions

 STATIC_ASSERT (sizeof(struct UiWindow)==0x24)
 STATIC_ASSERT (offsetof(struct UiWindow, width)==8)
 STATIC_ASSERT (offsetof(struct UiWindow, frame)==0x18)
 STATIC_ASSERT (offsetof(struct UiWindow, previousHeight)==0x22)
 STATIC_ASSERT (sizeof(struct UiChannelSlot)==0x28)
 STATIC_ASSERT (offsetof(struct UiChannelSlot, entry)==0x12)
 STATIC_ASSERT (offsetof(struct UiChannelSlot, countdown)==0x14)
 STATIC_ASSERT (offsetof(struct UiChannelSlot, transition)==0x1c)
 STATIC_ASSERT (offsetof(struct UiChannelSlot, flags)==0x24)

Detailed Description

UiWindow, a window's work, and marking its tilemap rows for transfer.

Definition in file uiwindow.h.

Macro Definition Documentation

◆ UiRender_MarkRow

#define UiRender_MarkRow ( render,
y )
Value:
do { \
(render)->dirty |= 2 << ((u32)(y) >> 2); \
} while (0)
unsigned int u32
Definition types.h:15

Requests transfer of the four-row tilemap band containing window row y.

Definition at line 73 of file uiwindow.h.

Referenced by Battle_SelectAbility(), BattleMenu_RunActionSelection(), DjinnMenu_ShowOwnerStatus(), ItemList_SelectEntry(), OwnerAction_RunCompareLoop(), SaveMenu_Run(), SummonMenu_SelectSummon(), Ui_SetRectHighlight(), and UiWindow_SetRectPalette().

Function Documentation

◆ STATIC_ASSERT() [1/9]

STATIC_ASSERT ( sizeof(struct UiWindow) = =0x24)

◆ STATIC_ASSERT() [2/9]

STATIC_ASSERT ( offsetof(struct UiWindow, width) = =8)

◆ STATIC_ASSERT() [3/9]

STATIC_ASSERT ( offsetof(struct UiWindow, frame) = =0x18)

◆ STATIC_ASSERT() [4/9]

STATIC_ASSERT ( offsetof(struct UiWindow, previousHeight) = =0x22)

◆ STATIC_ASSERT() [5/9]

STATIC_ASSERT ( sizeof(struct UiChannelSlot) = =0x28)

◆ STATIC_ASSERT() [6/9]

STATIC_ASSERT ( offsetof(struct UiChannelSlot, entry) = =0x12)

◆ STATIC_ASSERT() [7/9]

STATIC_ASSERT ( offsetof(struct UiChannelSlot, countdown) = =0x14)

◆ STATIC_ASSERT() [8/9]

STATIC_ASSERT ( offsetof(struct UiChannelSlot, transition) = =0x1c)

◆ STATIC_ASSERT() [9/9]

STATIC_ASSERT ( offsetof(struct UiChannelSlot, flags) = =0x24)