chore(region): add region constants

This commit is contained in:
Adam Heinermann 2025-04-20 13:06:12 -07:00 committed by fallenoak
parent 62121bef6f
commit f6d4a93652
4 changed files with 44 additions and 46 deletions

View file

@ -6,6 +6,13 @@
#include "storm/Hash.hpp"
#include <cstdint>
// region flgs
#define SF_NONE 0x00
#define SF_ADDING 0x00000001
#define SF_OVERLAPS 0x00000002
#define SF_TEMPMASK 0x00000003
#define SF_PARAMONLY 0x00010000
struct SOURCE {
RECTF rect;
void* param;

View file

@ -15,4 +15,12 @@ struct RECTF {
float top;
};
// Combine modes
#define SRGN_AND 1
#define SRGN_OR 2
#define SRGN_XOR 3
#define SRGN_DIFF 4
#define SRGN_COPY 5
#define SRGN_PARAMONLY 6
#endif