[GB.GTK]
* BUG: Fix Align.IsBottom() and Align.IsMiddle(). [GB.QT4] * BUG: Fix Align.IsBottom() and Align.IsMiddle(). git-svn-id: svn://localhost/gambas/trunk@6210 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
78440de68d
commit
98203894df
@ -43,9 +43,9 @@ enum
|
||||
ALIGN_JUSTIFY = 0x04, //Qt::AlignVCenter + Qt::AlignJustify
|
||||
};
|
||||
|
||||
#define ALIGN_IS_TOP(_align) (((_align) & 0xF0) == 0x1)
|
||||
#define ALIGN_IS_BOTTOM(_align) (((_align) & 0xF0) == 0x2)
|
||||
#define ALIGN_IS_MIDDLE(_align) (((_align) & 0xF0) == 0x0)
|
||||
#define ALIGN_IS_TOP(_align) (((_align) & 0xF0) == 0x10)
|
||||
#define ALIGN_IS_BOTTOM(_align) (((_align) & 0xF0) == 0x20)
|
||||
#define ALIGN_IS_MIDDLE(_align) (((_align) & 0xF0) == 0x00)
|
||||
#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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user