Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.
Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
33 lines
749 B
C++
33 lines
749 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();
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(WindowGeometry) == 48);
|
|
#endif
|
|
|
|
#endif
|