Batch #1065 by ragnarok-clanker: no function's compiled code changes; checked with 92 compiled unit(s), including every includer of Source/UI/Buttons/UIBmpTextButton.h, Source/UI/Chat/ChatNotifications.h, Source/UI/Cooldowns/CooldownDrawing.h, Source/UI/Cooldowns/CooldownState.h, Source/UI/Edit/ItemTagRetirement.h, Source/UI/Layout/SnapRectangle.h, Source/UI/Lists/UIListBoxEx.h, Source/UI/MiniPartyGrid.h, Source/UI/Party/UIAdvenPartyBoardWnd.h, Source/UI/Party/UIRequestJoinPartyMgr.h, Source/UI/Shop/PriceColor.h, Source/UI/Shortcuts/ShortcutCooldowns.h, Source/UI/Shortcuts/ShortcutGrid.h, Source/UI/Text/TextMarkup.h, Source/UI/Text/UITransBalloonText.h, Source/UI/Window/FrameTextCache.h, Source/UI/Window/UIWindow.h, Source/UI/Window/WindowAncestry.h, Source/UI/Window/WindowRegistration.h.
22 lines
610 B
C
22 lines
610 B
C
#ifndef RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTGRID_H
|
|
#define RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTGRID_H
|
|
|
|
#include <cstddef>
|
|
|
|
struct ShortcutGrid {
|
|
/* 0154 */ int hovered;
|
|
/* 0158 */ int row;
|
|
/* 015C */ int rows;
|
|
|
|
ShortcutGrid();
|
|
int HitTest(int x, int y, bool itemSlotActive, unsigned char& currentRow);
|
|
};
|
|
|
|
static_assert(sizeof(ShortcutGrid) == 12);
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(ShortcutGrid, hovered) + 0x0154 == 0x0154);
|
|
static_assert(offsetof(ShortcutGrid, row) + 0x0154 == 0x0158);
|
|
static_assert(offsetof(ShortcutGrid, rows) + 0x0154 == 0x015C);
|
|
#endif
|
|
|
|
#endif
|