mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(region): add region constants
This commit is contained in:
parent
62121bef6f
commit
f6d4a93652
4 changed files with 44 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue