Add ALIGN_IS_NORMAL() macro for alignment constants.

[GB.GEOM]
* NEW: Add ALIGN_IS_NORMAL() macro for alignment constants.
This commit is contained in:
gambas 2022-02-18 09:06:35 +01:00
parent 71877e0903
commit aa2ce32c41

View file

@ -49,6 +49,7 @@ enum
#define ALIGN_IS_LEFT(_align) (((_align) & 0xF) == 0x1 || (((_align) & 0xF) == 0x0 && !GB.System.IsRightToLeft()))
#define ALIGN_IS_RIGHT(_align) (((_align) & 0xF) == 0x2 || (((_align) & 0xF) == 0x0 && GB.System.IsRightToLeft()))
#define ALIGN_IS_CENTER(_align) (((_align) & 0xF) == 0x3)
#define ALIGN_IS_NORMAL(_align) (((_align) & 0xF) == 0x0)
typedef
struct {