RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_layout_overlay_t Struct Reference

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

Detailed Description

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.

Field Documentation

◆ id

uint64_t rmgui_layout_overlay_t::id

◆ anchor_id

uint64_t rmgui_layout_overlay_t::anchor_id

◆ mode

rmgui_layout_overlay_mode_t rmgui_layout_overlay_t::mode

◆ placement

rmgui_layout_place_t rmgui_layout_overlay_t::placement

◆ pointer_x

int rmgui_layout_overlay_t::pointer_x

◆ pointer_y

int rmgui_layout_overlay_t::pointer_y

The documentation for this struct was generated from the following file: