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

Borrowed settings for a batch of typed controls. More...

#include <ui_context.h>

Data Fields

rmgui_target_t * target
rmgui_font_t * font
rmgui_rect_t clip
const rmgui_style_snapshot_t * theme
int font_px
int scale_percent
const rmgui_skin_binding_t * skins

Detailed Description

Borrowed settings for a batch of typed controls.

The host supplies the clip in target coordinates; a zero clip is empty. A NULL theme uses the built-in style; a NULL skin binding uses plain painting. Zero font_px and scale_percent mean 17 logical px and 100%, respectively. Operations do not retain the context. Layout, focus, capture and clocks belong to the host.

Field Documentation

◆ target

rmgui_target_t* rmgui_ui_t::target

◆ font

rmgui_font_t* rmgui_ui_t::font

◆ clip

rmgui_rect_t rmgui_ui_t::clip

◆ theme

const rmgui_style_snapshot_t* rmgui_ui_t::theme

◆ font_px

int rmgui_ui_t::font_px

◆ scale_percent

int rmgui_ui_t::scale_percent

◆ skins

const rmgui_skin_binding_t* rmgui_ui_t::skins

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