acron.layout

One set of panel numbers, two renderers — the bridge between UI tiers.

A HUD on this package is typically half an RmlUi document (the panels made of words, acron.ui) and half aspect2d rasters (the drawn instruments, acron.hud). They have to line up, so neither renderer owns the geometry: a game authors its panels as Box values and both renderers read them.

The space is authored pixels, y down, in the same fixed-height frame the game’s acron.hud.PixelFrame and RmlUi dp ratio use — one number here is one dp there, and a HUD-size setting scales both together.

Box(corner, x, y, w, h)

One panel: a size, and where its top-left corner sits.