|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
An overlay declaration, attached to one child of a LAYER node through rmgui_layout_node_t.overlay. More...
#include <layout.h>
Data Fields | |
| uint64_t | id |
| uint64_t | anchor_id |
| rmgui_layout_overlay_mode_t | mode |
| rmgui_layout_place_t | placement |
| int | pointer_x |
| int | pointer_y |
An overlay declaration, attached to one child of a LAYER node through rmgui_layout_node_t.overlay.
anchor_id 0 keeps the child inside the layer box under its own alignment; a non-zero anchor_id names an already-added node against whose arranged rect the child is placed (flipping to the opposite edge when it would leave the layer) and then clamped into the layer. id is the published layer id; 0 publishes the node's id. pointer_x/pointer_y are layer-space pixels, read only by AT_POINTER and CORNER_AT_POINTER.
| uint64_t rmgui_layout_overlay_t::id |
| uint64_t rmgui_layout_overlay_t::anchor_id |
| rmgui_layout_overlay_mode_t rmgui_layout_overlay_t::mode |
| rmgui_layout_place_t rmgui_layout_overlay_t::placement |
| int rmgui_layout_overlay_t::pointer_x |
| int rmgui_layout_overlay_t::pointer_y |