rodecomp/Source/UI/Layout/WindowGeometry.h
ragnarok-clanker e168b4e4a6 Restore translation-unit ownership and publish verified source corrections
Owner-authorized source migration: 31 helper-only translation units were merged into their callers or existing inline headers; both build manifests updated. Includes the preserved source payload, Lua configuration matching wowdecomp, and exact malloca expansion without diagnostic pragmas.

449 native units compiled locally and 449 staged units compiled by the pinned server toolchain. No previously byte-matched function regressed. Compiler mapping diagnostics remain recorded as needs_cleanup, not accepted or peer-confirmed. Existing independent review records are preserved. README.md is intentionally unchanged.
2026-10-25 15:42:21 +00:00

39 lines
854 B
C++

#ifndef RAGNAROK_SOURCE_UI_LAYOUT_WINDOWGEOMETRY_H
#define RAGNAROK_SOURCE_UI_LAYOUT_WINDOWGEOMETRY_H
#include <cstdint>
class CDC;
struct WindowGeometry {
/* 0014 */ int width;
/* 0018 */ int height;
/* 001C */ int x;
/* 0020 */ int y;
/* 0024 */ CDC* surface;
/* 0028 */ int visible;
/* 002C */ int id;
/* 0030 */ std::uint32_t unknown_0030;
/* 0034 */ std::uint32_t unknown_0034;
/* 0038 */ std::uint32_t targetAlpha;
/* 003C */ std::uint32_t alphaStart;
/* 0040 */ std::uint32_t currentAlpha;
WindowGeometry();
void Move(int x, int y);
void Show(int visible);
void SetId(int id);
std::uint32_t Color();
};
// INLINED
inline void WindowGeometry::Move(int newX, int newY) {
this->x = newX;
this->y = newY;
}
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(WindowGeometry) == 48);
#endif
#endif