|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
One class at a state, font size and UI scale; unused roles are zero. More...
#include <style.h>
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.
| int rmgui_style_resolved_t::min_width |
| int rmgui_style_resolved_t::min_height |
| int rmgui_style_resolved_t::padding_x |
| int rmgui_style_resolved_t::padding_y |
| int rmgui_style_resolved_t::gap |
| int rmgui_style_resolved_t::chevron_width |
| int rmgui_style_resolved_t::font_px |
| int rmgui_style_resolved_t::line_height |
| int rmgui_style_resolved_t::track_height |
| int rmgui_style_resolved_t::thumb_width |
| int rmgui_style_resolved_t::indicator_size |
| int rmgui_style_resolved_t::border_width |
| int rmgui_style_resolved_t::item_height |
| int rmgui_style_resolved_t::separator_gap |
| int rmgui_style_resolved_t::title_extra_height |
| int rmgui_style_resolved_t::title_button_size |
| int rmgui_style_resolved_t::title_button_gap |
| int rmgui_style_resolved_t::inner_border_inset |
| int rmgui_style_resolved_t::title_button_margin_right |
| int rmgui_style_resolved_t::title_button_bevel_width |
| int rmgui_style_resolved_t::card_close_margin_right_pct |
| int rmgui_style_resolved_t::card_close_size_pct |
| int rmgui_style_resolved_t::resize_corner_size |
| int rmgui_style_resolved_t::resize_edge_width |
| rmgui_style_states_t rmgui_style_resolved_t::states |
| rmgui_style_text_t rmgui_style_resolved_t::text_style |
| rmgui_color_t rmgui_style_resolved_t::background |
| rmgui_color_t rmgui_style_resolved_t::border |
| rmgui_color_t rmgui_style_resolved_t::text |
| rmgui_color_t rmgui_style_resolved_t::text_disabled |
| rmgui_color_t rmgui_style_resolved_t::text_placeholder |
| rmgui_color_t rmgui_style_resolved_t::overlay_disabled |
| rmgui_color_t rmgui_style_resolved_t::track_filled |
| rmgui_color_t rmgui_style_resolved_t::thumb |
| rmgui_color_t rmgui_style_resolved_t::tick |
| rmgui_color_t rmgui_style_resolved_t::mark |
| rmgui_color_t rmgui_style_resolved_t::chevron |
| rmgui_color_t rmgui_style_resolved_t::item_background |
| rmgui_color_t rmgui_style_resolved_t::item_border_focused |
| rmgui_color_t rmgui_style_resolved_t::separator |
| rmgui_color_t rmgui_style_resolved_t::title_highlight |
| rmgui_color_t rmgui_style_resolved_t::title_top |
| rmgui_color_t rmgui_style_resolved_t::title_bottom |
| rmgui_color_t rmgui_style_resolved_t::inner_border |
| rmgui_color_t rmgui_style_resolved_t::bevel_light |
| rmgui_color_t rmgui_style_resolved_t::bevel_dark |
| rmgui_color_t rmgui_style_resolved_t::title_button |
| rmgui_color_t rmgui_style_resolved_t::grid |
| rmgui_color_t rmgui_style_resolved_t::grid_strong |
| rmgui_color_t rmgui_style_resolved_t::crosshair |
| rmgui_color_t rmgui_style_resolved_t::series[6] |
| rmgui_color_t rmgui_style_resolved_t::up |
| rmgui_color_t rmgui_style_resolved_t::down |
| rmgui_style_motion_resolved_t rmgui_style_resolved_t::motion |
| int rmgui_style_resolved_t::min_length |
| int rmgui_style_resolved_t::preferred_length |
| int rmgui_style_resolved_t::min_thickness |
| int rmgui_style_resolved_t::preferred_thickness |
| int rmgui_style_resolved_t::radius |
| int rmgui_style_resolved_t::chunk_length |
| int rmgui_style_resolved_t::chunk_gap |
| int rmgui_style_resolved_t::chunk_cross_size |
| int rmgui_style_resolved_t::indeterminate_size_pct |
| uint16_t rmgui_style_resolved_t::indeterminate_period_ms |
| uint16_t rmgui_style_resolved_t::stripe_period_ms |
| int rmgui_style_resolved_t::fill_mode |
| rmgui_color_t rmgui_style_resolved_t::fill |
| int rmgui_style_resolved_t::title_height |
| int rmgui_style_resolved_t::controls_side |
| int rmgui_style_resolved_t::controls_order |
| int rmgui_style_resolved_t::close_size |
| int rmgui_style_resolved_t::minimize_size |
| int rmgui_style_resolved_t::maximize_size |
| int rmgui_style_resolved_t::close_gap |
| int rmgui_style_resolved_t::minimize_gap |
| int rmgui_style_resolved_t::maximize_gap |
| int rmgui_style_resolved_t::title_alignment |
| int rmgui_style_resolved_t::glyph_hover_only |
| int rmgui_style_resolved_t::frame_stroke_width |
| int rmgui_style_resolved_t::shadow_offset_x |
| int rmgui_style_resolved_t::shadow_offset_y |
| int rmgui_style_resolved_t::shadow_blur |
| int rmgui_style_resolved_t::shadow_inset |
| int rmgui_style_resolved_t::shadow_radius |
| rmgui_color_t rmgui_style_resolved_t::shadow |
| rmgui_color_t rmgui_style_resolved_t::title_button_hover |
| rmgui_color_t rmgui_style_resolved_t::title_button_pressed |
| rmgui_color_t rmgui_style_resolved_t::title_button_disabled |
| rmgui_color_t rmgui_style_resolved_t::title_button_inactive |
| int rmgui_style_resolved_t::min_thumb_length |
| int rmgui_style_resolved_t::arrow_layout |
| int rmgui_style_resolved_t::arrow_size |
| int rmgui_style_resolved_t::step_size |
| uint16_t rmgui_style_resolved_t::repeat_delay_ms |
| uint16_t rmgui_style_resolved_t::repeat_interval_ms |
| int rmgui_style_resolved_t::thumb_radius |
| int rmgui_style_resolved_t::grip_count |
| int rmgui_style_resolved_t::grip_length |
| int rmgui_style_resolved_t::grip_gap |
| int rmgui_style_resolved_t::track_action |
| rmgui_color_t rmgui_style_resolved_t::thumb_hover |
| rmgui_color_t rmgui_style_resolved_t::thumb_pressed |
| rmgui_color_t rmgui_style_resolved_t::thumb_disabled |
| rmgui_color_t rmgui_style_resolved_t::arrow |
| rmgui_color_t rmgui_style_resolved_t::arrow_hover |
| rmgui_color_t rmgui_style_resolved_t::arrow_pressed |
| rmgui_color_t rmgui_style_resolved_t::arrow_disabled |
| rmgui_color_t rmgui_style_resolved_t::glyph |
| rmgui_color_t rmgui_style_resolved_t::glyph_disabled |
| rmgui_color_t rmgui_style_resolved_t::grip |
| const rmgui_skin_binding_t* rmgui_style_resolved_t::skin |
| const rmgui_style_colors_t* rmgui_style_resolved_t::skin_colors |
| int rmgui_style_resolved_t::scale_percent |
| int rmgui_style_resolved_t::corner_radius |
| int rmgui_style_resolved_t::skin_origin_x |
| int rmgui_style_resolved_t::skin_origin_y |
| const struct rmgui_recipe_set* rmgui_style_resolved_t::recipes |
| const struct rmgui_style_ext_resolved* rmgui_style_resolved_t::recipe_properties |
| struct rmgui_recipe_scratch* rmgui_style_resolved_t::recipe_scratch |