Expand description
The bits of an element’s flags.
Constants§
- DIM
- Halves the element’s alpha (
Element::ComputeColor). - FILL_
HEIGHT - The element fills the height it is given.
- FILL_
WIDTH - The element fills the width it is given.
- HIDDEN
- The element is hidden.
- LOCKED
- Disabled by the tutorial (input passes it by, like a disabled one).
- MOUSE
- Takes the mouse (
SetFlagsOnOff(0x10000)): a click on it is an event of its own. - SCREEN_
HEIGHT - Height (0x10) / width (0x20) taken from the screen size times the UI scale.
- SCREEN_
WIDTH - The width is the screen’s width times the interface scale.