add PARTIAL_SRUT_EQUAL
This commit is contained in:
parent
89d964d9fe
commit
00d74f3d61
1 changed files with 6 additions and 0 deletions
|
@ -110,6 +110,12 @@ typedef struct _StrutPartial {
|
|||
(s1).bottom = MAX((s1).bottom, (s2).bottom)
|
||||
|
||||
#define STRUT_EQUAL(s1, s2) \
|
||||
((s1).left == (s2).left && \
|
||||
(s1).top == (s2).top && \
|
||||
(s1).right == (s2).right && \
|
||||
(s1).bottom == (s2).bottom)
|
||||
|
||||
#define PARTIAL_STRUT_EQUAL(s1, s2) \
|
||||
((s1).left == (s2).left && \
|
||||
(s1).top == (s2).top && \
|
||||
(s1).right == (s2).right && \
|
||||
|
|
Loading…
Reference in a new issue