|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
The box model every face obeys. More...
#include <paint.h>
Data Fields | |
| int | x |
| int | y |
The box model every face obeys.
A face strokes itself inside the rect it is given, so an element's content box is its rect inset by the declared padding plus the stroke the class reserves: BUTTON padding + RMGUI_PAINT_STROKE_PX TEXT_FIELD padding + border_width CONTEXT_MENU padding + border_width other classes padding (their stroke lies under the padding) A host that declares exactly this inset as a node's padding makes the kernel's content box the box the painter draws into.
| int rmgui_paint_inset_t::x |
| int rmgui_paint_inset_t::y |