mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
feat(region): add classic games flavor rect ordering
This commit is contained in:
parent
a96d1270d4
commit
953b426b4c
5 changed files with 244 additions and 96 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue