mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
chore(ui): use uint32_t for bitpacked guard flags in CLayoutFrame
This commit is contained in:
parent
ae900a1b59
commit
46b7dd926b
@ -27,12 +27,12 @@ class CLayoutFrame {
|
||||
CFramePoint* m_points[FRAMEPOINT_NUMPOINTS] = {};
|
||||
TSList<FRAMENODE, TSGetLink<FRAMENODE>> m_resizeList;
|
||||
struct {
|
||||
int32_t left : 1;
|
||||
int32_t top : 1;
|
||||
int32_t right : 1;
|
||||
int32_t bottom : 1;
|
||||
int32_t centerX : 1;
|
||||
int32_t centerY : 1;
|
||||
uint32_t left : 1;
|
||||
uint32_t top : 1;
|
||||
uint32_t right : 1;
|
||||
uint32_t bottom : 1;
|
||||
uint32_t centerX : 1;
|
||||
uint32_t centerY : 1;
|
||||
} m_guard;
|
||||
uint32_t m_resizeCounter : 8;
|
||||
uint32_t m_flags : 16;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user