feat(region): add classic games flavor rect ordering

This commit is contained in:
Adam Heinermann 2025-09-22 16:42:23 -07:00 committed by fallenoak
parent a96d1270d4
commit 953b426b4c
5 changed files with 244 additions and 96 deletions

View file

@ -8,12 +8,15 @@
DECLARE_STORM_HANDLE(HSRGN);
DECLARE_STORM_HANDLE(HLOCKEDRGN);
#if defined(WHOA_RECT_USES_SCREEN_COORDINATES)
struct RECTF {
float left;
float bottom;
float right;
float top;
float left, top, right, bottom;
};
#else
struct RECTF {
float left, bottom, right, top;
};
#endif
#if defined(WHOA_SYSTEM_WIN)
// NOTE: WINAPI's RECT uses `long`.