Skip to main content

Module flags

Module flags 

Source
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.