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

One class at a state, font size and UI scale; unused roles are zero. More...

#include <style.h>

Data Fields

int min_width
int min_height
int padding_x
int padding_y
int gap
int chevron_width
int font_px
int line_height
int track_height
int thumb_width
int indicator_size
int border_width
int item_height
int separator_gap
int title_extra_height
int title_button_size
int title_button_gap
int inner_border_inset
int title_button_margin_right
int title_button_bevel_width
int card_close_margin_right_pct
int card_close_size_pct
int resize_corner_size
int resize_edge_width
rmgui_style_states_t states
rmgui_style_text_t text_style
rmgui_color_t background
rmgui_color_t border
rmgui_color_t text
rmgui_color_t text_disabled
rmgui_color_t text_placeholder
rmgui_color_t overlay_disabled
rmgui_color_t track_filled
rmgui_color_t thumb
rmgui_color_t tick
rmgui_color_t mark
rmgui_color_t chevron
rmgui_color_t item_background
rmgui_color_t item_border_focused
rmgui_color_t separator
rmgui_color_t title_highlight
rmgui_color_t title_top
rmgui_color_t title_bottom
rmgui_color_t inner_border
rmgui_color_t bevel_light
rmgui_color_t bevel_dark
rmgui_color_t title_button
rmgui_color_t grid
rmgui_color_t grid_strong
rmgui_color_t crosshair
rmgui_color_t series [6]
rmgui_color_t up
rmgui_color_t down
rmgui_style_motion_resolved_t motion
int min_length
int preferred_length
int min_thickness
int preferred_thickness
int radius
int chunk_length
int chunk_gap
int chunk_cross_size
int indeterminate_size_pct
uint16_t indeterminate_period_ms
uint16_t stripe_period_ms
int fill_mode
rmgui_color_t fill
int title_height
int controls_side
int controls_order
int close_size
int minimize_size
int maximize_size
int close_gap
int minimize_gap
int maximize_gap
int title_alignment
int glyph_hover_only
int frame_stroke_width
int shadow_offset_x
int shadow_offset_y
int shadow_blur
int shadow_inset
int shadow_radius
rmgui_color_t shadow
rmgui_color_t title_button_hover
rmgui_color_t title_button_pressed
rmgui_color_t title_button_disabled
rmgui_color_t title_button_inactive
int min_thumb_length
int arrow_layout
int arrow_size
int step_size
uint16_t repeat_delay_ms
uint16_t repeat_interval_ms
int thumb_radius
int grip_count
int grip_length
int grip_gap
int track_action
rmgui_color_t thumb_hover
rmgui_color_t thumb_pressed
rmgui_color_t thumb_disabled
rmgui_color_t arrow
rmgui_color_t arrow_hover
rmgui_color_t arrow_pressed
rmgui_color_t arrow_disabled
rmgui_color_t glyph
rmgui_color_t glyph_disabled
rmgui_color_t grip
const rmgui_skin_binding_t * skin
const rmgui_style_colors_t * skin_colors
int scale_percent
int corner_radius
int skin_origin_x
int skin_origin_y
const struct rmgui_recipe_set * recipes
const struct rmgui_style_ext_resolved * recipe_properties
struct rmgui_recipe_scratch * recipe_scratch

Detailed Description

One class at a state, font size and UI scale; unused roles are zero.

Lengths are device px; enum values, percentages and ms remain unscaled. Window inheritance sentinels are resolved. skin, skin_colors and their backing storage are borrowed and must outlive use. Plain resolve leaves them NULL; origins begin at framebuffer (0,0) and may be host-overridden.

corner_radius is the corner radius, device px, of the rounded silhouette the library's painter gives the class's face, so a shadow, glow or cut-out that follows the face reads it from the record that paints it. With a skin bound (rmgui_style_resolve_with_skins), BUTTON, DROPDOWN, LIST_ROW, TEXT_FIELD, TAB, WINDOW and CONTEXT_MENU take it from the outside corner of the skin's FACE art; PROGRESS takes its authored radius; every other class, and any face drawn square, is 0. A host that paints its own face sets the field to that face's radius.

rmgui_style_resolved_t.recipes

Borrowed registered-class recipes and resolved property storage.

rmgui_style_resolved_t.recipe_scratch

Optional caller intersections for registered contour recipes.

Field Documentation

◆ min_width

int rmgui_style_resolved_t::min_width

◆ min_height

int rmgui_style_resolved_t::min_height

◆ padding_x

int rmgui_style_resolved_t::padding_x

◆ padding_y

int rmgui_style_resolved_t::padding_y

◆ gap

int rmgui_style_resolved_t::gap

◆ chevron_width

int rmgui_style_resolved_t::chevron_width

◆ font_px

int rmgui_style_resolved_t::font_px

◆ line_height

int rmgui_style_resolved_t::line_height

◆ track_height

int rmgui_style_resolved_t::track_height

◆ thumb_width

int rmgui_style_resolved_t::thumb_width

◆ indicator_size

int rmgui_style_resolved_t::indicator_size

◆ border_width

int rmgui_style_resolved_t::border_width

◆ item_height

int rmgui_style_resolved_t::item_height

◆ separator_gap

int rmgui_style_resolved_t::separator_gap

◆ title_extra_height

int rmgui_style_resolved_t::title_extra_height

◆ title_button_size

int rmgui_style_resolved_t::title_button_size

◆ title_button_gap

int rmgui_style_resolved_t::title_button_gap

◆ inner_border_inset

int rmgui_style_resolved_t::inner_border_inset

◆ title_button_margin_right

int rmgui_style_resolved_t::title_button_margin_right

◆ title_button_bevel_width

int rmgui_style_resolved_t::title_button_bevel_width

◆ card_close_margin_right_pct

int rmgui_style_resolved_t::card_close_margin_right_pct

◆ card_close_size_pct

int rmgui_style_resolved_t::card_close_size_pct

◆ resize_corner_size

int rmgui_style_resolved_t::resize_corner_size

◆ resize_edge_width

int rmgui_style_resolved_t::resize_edge_width

◆ states

rmgui_style_states_t rmgui_style_resolved_t::states

◆ text_style

rmgui_style_text_t rmgui_style_resolved_t::text_style

◆ background

rmgui_color_t rmgui_style_resolved_t::background

◆ border

rmgui_color_t rmgui_style_resolved_t::border

◆ text

rmgui_color_t rmgui_style_resolved_t::text

◆ text_disabled

rmgui_color_t rmgui_style_resolved_t::text_disabled

◆ text_placeholder

rmgui_color_t rmgui_style_resolved_t::text_placeholder

◆ overlay_disabled

rmgui_color_t rmgui_style_resolved_t::overlay_disabled

◆ track_filled

rmgui_color_t rmgui_style_resolved_t::track_filled

◆ thumb

rmgui_color_t rmgui_style_resolved_t::thumb

◆ tick

rmgui_color_t rmgui_style_resolved_t::tick

◆ mark

rmgui_color_t rmgui_style_resolved_t::mark

◆ chevron

rmgui_color_t rmgui_style_resolved_t::chevron

◆ item_background

rmgui_color_t rmgui_style_resolved_t::item_background

◆ item_border_focused

rmgui_color_t rmgui_style_resolved_t::item_border_focused

◆ separator

rmgui_color_t rmgui_style_resolved_t::separator

◆ title_highlight

rmgui_color_t rmgui_style_resolved_t::title_highlight

◆ title_top

rmgui_color_t rmgui_style_resolved_t::title_top

◆ title_bottom

rmgui_color_t rmgui_style_resolved_t::title_bottom

◆ inner_border

rmgui_color_t rmgui_style_resolved_t::inner_border

◆ bevel_light

rmgui_color_t rmgui_style_resolved_t::bevel_light

◆ bevel_dark

rmgui_color_t rmgui_style_resolved_t::bevel_dark

◆ title_button

rmgui_color_t rmgui_style_resolved_t::title_button

◆ grid

rmgui_color_t rmgui_style_resolved_t::grid

◆ grid_strong

rmgui_color_t rmgui_style_resolved_t::grid_strong

◆ crosshair

rmgui_color_t rmgui_style_resolved_t::crosshair

◆ series

rmgui_color_t rmgui_style_resolved_t::series[6]

◆ up

rmgui_color_t rmgui_style_resolved_t::up

◆ down

rmgui_color_t rmgui_style_resolved_t::down

◆ motion

rmgui_style_motion_resolved_t rmgui_style_resolved_t::motion

◆ min_length

int rmgui_style_resolved_t::min_length

◆ preferred_length

int rmgui_style_resolved_t::preferred_length

◆ min_thickness

int rmgui_style_resolved_t::min_thickness

◆ preferred_thickness

int rmgui_style_resolved_t::preferred_thickness

◆ radius

int rmgui_style_resolved_t::radius

◆ chunk_length

int rmgui_style_resolved_t::chunk_length

◆ chunk_gap

int rmgui_style_resolved_t::chunk_gap

◆ chunk_cross_size

int rmgui_style_resolved_t::chunk_cross_size

◆ indeterminate_size_pct

int rmgui_style_resolved_t::indeterminate_size_pct

◆ indeterminate_period_ms

uint16_t rmgui_style_resolved_t::indeterminate_period_ms

◆ stripe_period_ms

uint16_t rmgui_style_resolved_t::stripe_period_ms

◆ fill_mode

int rmgui_style_resolved_t::fill_mode

◆ fill

rmgui_color_t rmgui_style_resolved_t::fill

◆ title_height

int rmgui_style_resolved_t::title_height

◆ controls_side

int rmgui_style_resolved_t::controls_side

◆ controls_order

int rmgui_style_resolved_t::controls_order

◆ close_size

int rmgui_style_resolved_t::close_size

◆ minimize_size

int rmgui_style_resolved_t::minimize_size

◆ maximize_size

int rmgui_style_resolved_t::maximize_size

◆ close_gap

int rmgui_style_resolved_t::close_gap

◆ minimize_gap

int rmgui_style_resolved_t::minimize_gap

◆ maximize_gap

int rmgui_style_resolved_t::maximize_gap

◆ title_alignment

int rmgui_style_resolved_t::title_alignment

◆ glyph_hover_only

int rmgui_style_resolved_t::glyph_hover_only

◆ frame_stroke_width

int rmgui_style_resolved_t::frame_stroke_width

◆ shadow_offset_x

int rmgui_style_resolved_t::shadow_offset_x

◆ shadow_offset_y

int rmgui_style_resolved_t::shadow_offset_y

◆ shadow_blur

int rmgui_style_resolved_t::shadow_blur

◆ shadow_inset

int rmgui_style_resolved_t::shadow_inset

◆ shadow_radius

int rmgui_style_resolved_t::shadow_radius

◆ shadow

rmgui_color_t rmgui_style_resolved_t::shadow

◆ title_button_hover

rmgui_color_t rmgui_style_resolved_t::title_button_hover

◆ title_button_pressed

rmgui_color_t rmgui_style_resolved_t::title_button_pressed

◆ title_button_disabled

rmgui_color_t rmgui_style_resolved_t::title_button_disabled

◆ title_button_inactive

rmgui_color_t rmgui_style_resolved_t::title_button_inactive

◆ min_thumb_length

int rmgui_style_resolved_t::min_thumb_length

◆ arrow_layout

int rmgui_style_resolved_t::arrow_layout

◆ arrow_size

int rmgui_style_resolved_t::arrow_size

◆ step_size

int rmgui_style_resolved_t::step_size

◆ repeat_delay_ms

uint16_t rmgui_style_resolved_t::repeat_delay_ms

◆ repeat_interval_ms

uint16_t rmgui_style_resolved_t::repeat_interval_ms

◆ thumb_radius

int rmgui_style_resolved_t::thumb_radius

◆ grip_count

int rmgui_style_resolved_t::grip_count

◆ grip_length

int rmgui_style_resolved_t::grip_length

◆ grip_gap

int rmgui_style_resolved_t::grip_gap

◆ track_action

int rmgui_style_resolved_t::track_action

◆ thumb_hover

rmgui_color_t rmgui_style_resolved_t::thumb_hover

◆ thumb_pressed

rmgui_color_t rmgui_style_resolved_t::thumb_pressed

◆ thumb_disabled

rmgui_color_t rmgui_style_resolved_t::thumb_disabled

◆ arrow

rmgui_color_t rmgui_style_resolved_t::arrow

◆ arrow_hover

rmgui_color_t rmgui_style_resolved_t::arrow_hover

◆ arrow_pressed

rmgui_color_t rmgui_style_resolved_t::arrow_pressed

◆ arrow_disabled

rmgui_color_t rmgui_style_resolved_t::arrow_disabled

◆ glyph

rmgui_color_t rmgui_style_resolved_t::glyph

◆ glyph_disabled

rmgui_color_t rmgui_style_resolved_t::glyph_disabled

◆ grip

rmgui_color_t rmgui_style_resolved_t::grip

◆ skin

const rmgui_skin_binding_t* rmgui_style_resolved_t::skin

◆ skin_colors

const rmgui_style_colors_t* rmgui_style_resolved_t::skin_colors

◆ scale_percent

int rmgui_style_resolved_t::scale_percent

◆ corner_radius

int rmgui_style_resolved_t::corner_radius

◆ skin_origin_x

int rmgui_style_resolved_t::skin_origin_x

◆ skin_origin_y

int rmgui_style_resolved_t::skin_origin_y

◆ recipes

const struct rmgui_recipe_set* rmgui_style_resolved_t::recipes

◆ recipe_properties

const struct rmgui_style_ext_resolved* rmgui_style_resolved_t::recipe_properties

◆ recipe_scratch

struct rmgui_recipe_scratch* rmgui_style_resolved_t::recipe_scratch

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