Add ALIGN_IS_NORMAL() macro for alignment constants.
[GB.GEOM] * NEW: Add ALIGN_IS_NORMAL() macro for alignment constants.
This commit is contained in:
parent
71877e0903
commit
aa2ce32c41
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue