RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
 Crmgui_a11y_action_tSET_VALUE uses value for numeric elements, text/length for a field
 Crmgui_a11y_binding_tCaller-owned action routing
 Crmgui_a11y_ids_tOrdered, borrowed relation targets
 Crmgui_a11y_node_tOne included semantic node
 Crmgui_a11y_record_tSemantic metadata that can be attached to a layout node
 Crmgui_a11y_text_line_tOne wrapped line: [start,end) is drawn; next skips wrap blanks/newline
 Crmgui_a11y_text_range_tUTF-8 byte offsets, never codepoint or UTF-16 indices
 Crmgui_backdrop_palette_t256 straight RGBA colours indexed by a field value
 Crmgui_backdrop_stop_tA palette stop: color (straight RGBA) sits at index at
 Crmgui_bidi_work_tCaller-owned scratch, one entry per codepoint
 Crmgui_blur_desc_tGaussian and final composite parameters
 Crmgui_button_style_t
 Crmgui_button_tRetained, zero-initialized button state
 Crmgui_button_view_tA zero-initialized button with an optional borrowed, NUL-terminated label
 Crmgui_chart_bar_h_view_tOne horizontal fill row, clamped to [0, v_max] with positive v_max
 Crmgui_chart_bars_view_tA vertical bar chart borrowing groups * series_per group-major values
 Crmgui_chart_candle_tOne open/high/low/close bar
 Crmgui_chart_candles_view_tCandles borrowing count oldest-first records and an ascending window (v0 < v1, t0 < t1)
 Crmgui_chart_column_tMinimum, maximum, first and last values in a downsampled column
 Crmgui_chart_flame_view_tA flame graph borrowing up to INT32_MAX frames and their label bytes
 Crmgui_chart_frame_tOne flame frame
 Crmgui_chart_heat_view_tA heat map borrowing rows * cols row-major values, with ramp stops at v0 < v1
 Crmgui_chart_legend_view_tA legend borrowing count names and their UTF-8 byte lengths
 Crmgui_chart_plot_columns_view_tA plot borrowing a chart window and count reduced columns
 Crmgui_chart_plot_samples_view_tA sample plot borrowing a chart window and a live series
 Crmgui_chart_sample_tStorage for one sample: its time and value as pushed
 Crmgui_chart_series_tStrictly time-ordered samples in a caller-owned ring
 Crmgui_chart_spark_view_tAn auto-fitted sparkline borrowing a live series
 Crmgui_chart_style_tPalette indices are 0..5; all chart colours are authored independently
 Crmgui_chart_view_tVisible chart value range [v0, v1] and time window [t0, t1] in ms
 Crmgui_choice_style_t
 Crmgui_choice_tRetained group state, built by rmgui_choice_init
 Crmgui_choice_view_tA checkbox or radio group with optional borrowed labels, one per option
 Crmgui_color_tStraight (non-premultiplied) RGBA8
 Crmgui_colorpicker_fields_tOptional caller-owned fields, independently arranged by the host
 Crmgui_colorpicker_geometry_tTop: SV square, vertical hue/alpha strips
 Crmgui_colorpicker_hsva_tHue is tenths of a degree [0,3599], S/V tenths of a percent [0,1000]
 Crmgui_colorpicker_t
 Crmgui_colorpicker_view_tA picker with a borrowed device-resolved extension style and, when component fields are bound, a borrowed device-resolved text field style
 Crmgui_combo_tZero-initialize before bind
 Crmgui_combo_view_tA combo and its borrowed, device-resolved field, normal row and active row styles
 Crmgui_composite_source_tAn immutable image, or a same-kind isolated child target
  C[union].value
 Crmgui_context_menu_item_t
 Crmgui_context_menu_style_t
 Crmgui_context_menu_tBorrows the model and labels: they must remain live while the menu is used
 Crmgui_corner_radii_tCorner radii in device pixels, clockwise from the top left
 Crmgui_date_tOne civil date; month/day are one-based and year is 1..9999
 Crmgui_datepicker_cell_t
 Crmgui_datepicker_config_trmgui_datepicker_config_t.month_count, rmgui_datepicker_config_t.weekday_count
 Crmgui_datepicker_layout_t42 cells in month view; 12 in year/decade view
 Crmgui_datepicker_trmgui_datepicker_t.hover, rmgui_datepicker_t.pressed
 Crmgui_desktop_style_resolved_tShell-owned roles; no painted-state parameter
 Crmgui_desktop_style_t
 Crmgui_dock_aspect_tCaller-owned per-window aspect-lock storage, initialized by dock_init
 Crmgui_dock_node_tA node's retained identity and latest arranged geometry
 Crmgui_dock_preview_tA potential drag destination; valid only while model generation is unchanged
 Crmgui_dock_tRetained model and geometry; fields are read-only to callers
  C[struct].drag
 Crmgui_dock_window_tOne window's membership, allocated content before chrome, per-ID aspect lock, and latest arranged tab (zero rectangle for a singleton)
 Crmgui_draw_command_tExactly 64 bytes
 Crmgui_draw_crossing_tCaller-owned scanline scratch, one element per vertex
 Crmgui_draw_point_tA point in Q16 device px
 Crmgui_draw_resource_tCAPTURE_RGBA with offset SIZE_MAX imports the identical framebuffer captured by an ancestor before the command consuming this scope
 Crmgui_draw_stream_tCaller supplies all storage before painting
 Crmgui_draw_vertex_tGeneral contours: nonzero move starts a contour; each closes implicitly
 Crmgui_draw_vgrad_stop_tGradient stop for rmgui_draw_vgrad: row counts from the top row of the gradient rect (row 0), independent of clipping; color.r, color.g, color.b is the exact color of that row
 Crmgui_dropdown_style_t
 Crmgui_dropdown_tRetained dropdown state, caller-owned, written by rmgui_dropdown_init and rmgui_dropdown_input only; the host reads open (declare the popup while 1), selected and first_visible, and sets or clears RMGUI_STYLE_STATE_DISABLED in states
 Crmgui_dropdown_view_tBorrow an initialized dropdown and its optional array of state->count NUL-terminated labels
 Crmgui_element_motion_recipe_tImmutable built-in recipe data, in order: hover glow, press pop, lift, attention sine, refusal noise, drag sway
 Crmgui_element_motion_tOne element's motion state
 Crmgui_element_sway_tOne element's drag sway: while the host drags it, the element leans in the direction the pointer moves, as far as its horizontal speed (up to a full lean at 1000 logical px/s), and springs back upright when the pointer rests 50 ms or the drag ends; an impulse rings it, dragged or not
 Crmgui_fallback_request_trmgui_fallback_request_t.sticky
 Crmgui_fallback_run_trmgui_fallback_run_t.start
 Crmgui_fb_tSoftware RGBA8 framebuffer
 Crmgui_field_action_tOne action button inside the field's rect
 Crmgui_field_actions_tA field's action table: action[0, count), count <= RMGUI_FIELD_ACTION_MAX, host-owned and read whenever the field is laid out or measured
 Crmgui_field_edit_tOne undo record
 Crmgui_field_glyph_tOne recorded edit: inserted bytes [at, at + length) of the current text, age_ms < RMGUI_FIELD_GLYPHS_DURATION_MS, or (ghost_length > 0, length 0) deleted bytes ghost[0, ghost_length) drawn at byte at, age_ms < RMGUI_FIELD_GLYPHS_ERASE_MS
 Crmgui_field_glyphs_tThe glyph motion of one field
 Crmgui_field_history_tCaller-owned history ring, zero-initialized before attachment to one field
 Crmgui_field_layout_tThe retained wrap/scroll layout of one field, produced by rmgui_field_layout and kept current by rmgui_field_input
 Crmgui_field_mask_t
 Crmgui_field_metrics_tHow a field's text is measured and sized
 Crmgui_field_row_tOne wrapped row: bytes [start, end) are drawn; width is their pixel width
 Crmgui_field_tRetained state of one field
 Crmgui_font_metrics_tMutable measurement/drawing context, owned by one thread at a time
  C[struct].pairs
  C[struct].tokens
 Crmgui_font_provider_tCallback table for a host-supplied font rasterizer (for example, browser Canvas 2D or a native OS text stack) used with rmgui_font_init_provider
 Crmgui_font_tOne font: an installed face and its glyph cache
 Crmgui_gesture_config_tAll distances are logical pixels, times are milliseconds
 Crmgui_gesture_contact_tCaller storage, read-only between calls
 Crmgui_gesture_result_tSigned Q16 values use 65536 units per pixel/scale/turn
 Crmgui_gesture_tCaller-owned recognizer, initialized by init; members are private state
 Crmgui_gpu_cloud_orb_motion_tZero initializes idle motion
 Crmgui_gpu_cloud_orb_params_tExactly eight contiguous, 16-byte-aligned vec4 uniforms (128 bytes)
 Crmgui_gpu_desc_tMust equal the host's consuming pass attachments; sample_count is positive
 Crmgui_gpu_frame_tTarget dimensions in device pixels; all dst/clip coordinates are top-left, y down
 Crmgui_gpu_mesh_raster_caps_tResult of rmgui_gpu_mesh_raster_query
 Crmgui_gpu_mesh_raster_desc_tCapacity: largest output max_width x max_height pixels, max_supersample (1, 2 or 4), max_outline_width (0 to 4; 0 allocates no outline surfaces and refuses outlined styles) and an optional memory_limit in bytes (0 means none)
 Crmgui_gpu_mesh_raster_tile_tThe last successfully prepared output: an RGBA8 image and texture view, its widthxheight, and v_up, always 0
 Crmgui_gpu_src_tPicture texel bounds; fractional edges permit caller-specified half-texel insets
 Crmgui_gpu_texture_tBorrowed VALID texture view of a single-sample 2D RGBA8 image's base mip
 Crmgui_gradient_stop_tA stop at pos / 65535 of the gradient axis; color is straight RGBA8
 Crmgui_host_tAll callbacks are optional and synchronous; context and the record are borrowed while used
 Crmgui_image_button_view_tA button state and borrowed vertical sheet of one to four equal frames
 Crmgui_image_codec_tImmutable decoder descriptor
 Crmgui_image_codecs_tCaller-owned ordered registry
 Crmgui_image_limits_tPer-decode hostile-input safety limits, checked before pixel allocation
 Crmgui_input_result_tAn element input function's report: what happened, and how the host routes the next events
 Crmgui_input_tOne event in logical framebuffer pixels
  C[union].u
   C[struct].u.pointer
   C[struct].u.wheel
   C[struct].u.key
   C[struct].u.text
   C[struct].u.aux
   C[struct].u.touch
   C[struct].u.composition
 Crmgui_insets_tNonnegative integer pixel insets, clockwise from the top side
 Crmgui_iso_week_tISO week-year, week 1..53, weekday 1 Monday
 Crmgui_label_glyphs_tThe glyph motion of one label
 Crmgui_label_run_tOne styled run of a label: the next length bytes of its text drawn in color
 Crmgui_label_text_tA label's text as painted: the well-formed UTF-8 text[0, length), coloured by runs[0, run_count) in order from byte 0, and by color past the last run (every byte when run_count is 0)
 Crmgui_layer_shadow_tA shadow (OVER) or glow (ADD) cast by the rounded rect of the element, radii device px, the SAME value passed to the face painter: shadow.radii = radii; rmgui_draw_fill_rounded_corners(fb, clip, rect, radii, color, mode); Uniform shadows retain the legacy binary raster; asymmetric shadows use the corner fill's exact antialiased raster
 Crmgui_layer_tCaller-owned layer
 Crmgui_layer_target_tWhere rmgui_layer_begin wants the element painted
 Crmgui_layer_transform_tThe visual transform of an element arranged at rect r
 Crmgui_layout_entry_t-— private representation (members of rmgui_layout_t) --------------—
 Crmgui_layout_grid_column_tFIXED: nonnegative pixels
 Crmgui_layout_grid_tGrid declaration: children fill the borrowed columns row-major
 Crmgui_layout_links_tTree links of one node; -1 where there is none
 Crmgui_layout_node_tOne node's declaration, copied by rmgui_layout_add_* / rmgui_layout_update
 Crmgui_layout_overlay_bind_t
 Crmgui_layout_overlay_layer_tOne published overlay: node is its index, parent_id the id of the overlay that contains its anchor (0 for none), depth its nesting depth
 Crmgui_layout_overlay_tAn overlay declaration, attached to one child of a LAYER node through rmgui_layout_node_t.overlay
 Crmgui_layout_scroll_bind_t
 Crmgui_layout_snapshot_node_tOne published node
 Crmgui_layout_snapshot_tOne arrangement generation
 Crmgui_layout_storage_tCaller-owned, disjoint arrays, borrowed for the kernel's lifetime
 Crmgui_layout_t
  C[union].__unnamed0__
 Crmgui_layout_text_binding_tFour values installed together: measure, optional prefix, default userdata, and optional metrics for paragraph painting
 Crmgui_layout_visual_tOptional visual effect for an arranged node
 Crmgui_list_row_style_t
 Crmgui_list_row_tRetained selection state over a column of rows, built by rmgui_list_row_init
 Crmgui_list_row_view_tCaller-owned row selection state and optional borrowed labels, one per row
 Crmgui_mask_nine_tA nine-slice shape: over any rect at least left + right wide and top + bottom tall it is whole (coverage 255) inside the rect inset by the four band widths, and inside the bands it reads its masks at their own size, never stretched across the rect's size: corner[0..3] the top-left (left x top), top-right (right x top), bottom-left (left x bottom) and bottom-right (right x bottom) corners; edge[0..3] one line across the top band (1 x top), the bottom band (1 x bottom), the left band (left x 1) and the right band (right x 1), repeated along that side between its corners
 Crmgui_mask_theight rows of width coverage bytes, 0 (outside) to 255 (inside), rows contiguous and unpadded
 Crmgui_menubar_item_t
 Crmgui_menubar_t
 Crmgui_mesh_camera_tOrthographic camera: world-space eye/target/up and vertical view span
 Crmgui_mesh_channel_tStrictly increasing finite seconds; STEP when step is nonzero, otherwise linear vectors/shortest-path normalized slerp
 Crmgui_mesh_clip_tOne glTF animation in file order
 Crmgui_mesh_instance_tMutable pose borrowing a live immutable model
 Crmgui_mesh_large_instance_tMutable caller-owned pose borrowing a live large model
 Crmgui_mesh_large_model_tImmutable loaded scene
 Crmgui_mesh_limits_tOptional hostile-input budgets
 Crmgui_mesh_material_tLinear RGBA factor; blend selects straight-alpha blending, textured selects the model's sole nearest-sampled PNG atlas
 Crmgui_mesh_model_tImmutable after loading
 Crmgui_mesh_node_tLocal TRS, normalized XYZW quaternion and int parent/mesh indices (-1 for none)
 Crmgui_mesh_primitive_tTriangle-list range; indices are absolute offsets into model.vertices
 Crmgui_mesh_style_tCel light points toward the light in world space
 Crmgui_mesh_vertex_tRenderer-independent vertex: local position, normal and atlas UV
 Crmgui_model_appearance_tBorrowed device-pixel style and optional painter for an indexed model
 Crmgui_model_painter_t
 Crmgui_model_result_t
 Crmgui_model_row_tOne borrowed UTF-8 cell and row metadata; height comes from the prefix map
 Crmgui_model_style_tResolved view colours
 Crmgui_model_t
 Crmgui_model_view_tIDs live in disjoint caller-owned hash slots; do not mutate slots directly
 Crmgui_motion_impulse_tA normalised spring kick: units logical pixels per full amplitude, and a maximum absolute amplitude/accumulated velocity in Q16 full amplitudes
 Crmgui_motion_map_tA scalar map: input / divisor is Q16 progress, truncated toward zero before mixing the endpoints
 Crmgui_motion_rng_tA seeded generator (xorshift32)
 Crmgui_motion_slot_tOne slot of a store
 Crmgui_motion_spring_tA damped spring pulling value toward target: acceleration = stiffness * (target - position) - damping * velocity, integrated in 1 ms semi-implicit Euler substeps on 2^-26 px state
 Crmgui_motion_store_tA store over caller-owned slots
 Crmgui_motion_tween_tA running curve
 Crmgui_motion_wave_tA wave's period (sine) or lattice cell (noise), in milliseconds
 Crmgui_native_desc_tGPU payload reservation (no driver alignment, metadata, handle pools, host targets, external images or CPU arrays):
 Crmgui_native_external_binding_tBorrowed sampled RGBA8 image replacing CPU upload for one pinned framebuffer identity
 Crmgui_native_external_tBorrowed image binding, immutable through consume/cancel
 Crmgui_native_pool_tOne pool tier: count slots of width x height texels
 Crmgui_native_prepare_desc_tDevice-pixel frame inputs, borrowed through consume/cancel
 Crmgui_native_stats_tLast successfully consumed frame, except submissions/draws accumulate
 Crmgui_native_status_tLast prepare result and used attempt counters, retained through cancel/consume until the next prepare
 Crmgui_native_storage_desc_tFixed create-time storage
 Crmgui_nine_insets_tSource-pixel widths of the four borders; every field must be nonnegative
 Crmgui_nine_patch_tNonzero tile_edges repeats edges along their long axis; nonzero tile_center repeats the middle on both axes
 Crmgui_paint_inset_tThe box model every face obeys
 Crmgui_particle_emitter_tWhat one emit spawns; every range is inclusive and drawn uniformly
 Crmgui_particle_physics_tForces on a pool
 Crmgui_particle_tOne slot
 Crmgui_path_command_tOne verb, indexing the path's caller-owned Q16 point array
 Crmgui_path_scratch_tScratch storage must not overlap its other arrays, the path or pixels
 Crmgui_path_stroke_tPositive Q16 width and miter limit (ratio >= 1)
 Crmgui_path_tInitialize counts to zero
 Crmgui_pattern_zellige_colors_tThe four colours of a zellige
 Crmgui_progress_accessibility_tPlain bytes-out progressbar metadata
 Crmgui_progress_style_tOrientation-neutral progress metrics; periods are ms and fill_mode is 0..2
 Crmgui_progress_tMaximum is positive and value <= maximum
 Crmgui_recipe_color_t
 Crmgui_recipe_number_tLiteral or class-local resolved property
 Crmgui_recipe_part_tA class's part/state mapping
 Crmgui_recipe_scratch_tCaller-owned intersections for contour steps
 Crmgui_recipe_set_t
 Crmgui_recipe_step_tA borrowed immutable layer
 Crmgui_recipe_tNo count limit beyond caller storage and the selected primitive's limits
 Crmgui_rect_tHalf-open rectangle [x, x + w) by [y, y + h) in logical framebuffer pixels
 Crmgui_richtext_document_t
 Crmgui_richtext_fonts_t
 Crmgui_richtext_hit_t
 Crmgui_richtext_layout_t
 Crmgui_richtext_line_t
 Crmgui_richtext_markdown_map_t
 Crmgui_richtext_markdown_options_tOpt-in grammar for rmgui_richtext_markdown_mapped_ex
 Crmgui_richtext_markdown_run_tOne half-open source range and its corresponding display range, in UTF-8 bytes
 Crmgui_richtext_markdown_tTiny deterministic Markdown (not CommonMark): bold, italic, mono, [text](target), #..###### headings, '- '/'* ' bullets
 Crmgui_richtext_paragraph_trmgui_richtext_paragraph_t.start, rmgui_richtext_paragraph_t.end
 Crmgui_richtext_span_trmgui_richtext_span_t.font_px
 Crmgui_richtext_style_t
 Crmgui_richtext_trmgui_richtext_t.host
 Crmgui_richtext_view_tRich text state with an optional borrowed inline painter and its user data
 Crmgui_scroll_bar_tA bar's half-open thumb lane, thumb and separate arrow rectangles
 Crmgui_scroll_tThe owner supplies key (0 for host panes), axes, visibility and a scale in 1..400 before layout
 Crmgui_scrollbar_style_tScrollbar metrics and independent part colours; durations are unscaled ms
 Crmgui_section_insets_tDistances from a section's outer edges to its content box, device px
 Crmgui_section_parts_tAn arranged section
 Crmgui_section_tA section with optional borrowed NUL-terminated title and its alignment
 Crmgui_shaped_glyph_tOne glyph
 Crmgui_shaper_run_tBorrowed UTF-8 run
 Crmgui_shaper_tBorrowed callback and context; NULL callback selects the simple adapter
 Crmgui_size_tWidth and height in logical framebuffer pixels
 Crmgui_skin_binding_tBorrowed immutable bound table; keep entries, declarations and sheets alive until every resolved style using this binding is retired
 Crmgui_skin_bound_tParallel bound entry borrowing declaration and read-only sheet
 Crmgui_skin_image_tNamed borrowed tight RGBA sheet; neither header nor pixels are modified
 Crmgui_skin_set_tBorrowed declarations sorted uniquely by target,part,states,tier_percent
 Crmgui_skin_tImmutable declaration
 Crmgui_slider_style_t
 Crmgui_slider_tRetained slider state
 Crmgui_slider_view_tA retained slider with optional borrowed tick marks (not snap points)
 Crmgui_source_stamp_tCaller-owned stable source identity and revision
 Crmgui_spinbox_config_tAll numeric quantities use integer units of 10^-decimals, decimals 0..9
 Crmgui_spinbox_geometry_t
 Crmgui_spinbox_presentation_tBorrowed paint inputs for an arranged spinbox
 Crmgui_spinbox_tCaller-owned, no allocation
 Crmgui_splitter_pane_tA collapsed pane has size zero; otherwise minimum <= size <= maximum
 Crmgui_splitter_tAll arrays are borrowed, mutually disjoint, and must outlive self
 Crmgui_style_colors_t
 Crmgui_style_ext_class_t
 Crmgui_style_ext_property_t
 Crmgui_style_ext_resolved_property_tProperty IDs are class-local descriptor indices
 Crmgui_style_ext_resolved_t
 Crmgui_style_ext_slot_t
 Crmgui_style_ext_t
 Crmgui_style_ext_value_tREFERENCE carries a schema spacing/colour token; integer/color are unused
 Crmgui_style_field_tRead-only row; offset addresses a declared snapshot member
 Crmgui_style_font_size_delta_t
 Crmgui_style_kdl_skin_storage_t
 Crmgui_style_motion_resolved_tResolved motion, in device px except durations (ms) and fixed-point scales
 Crmgui_style_motion_tEvery class carries the same flat eleven motion fields; zero amplitudes disable shake
 Crmgui_style_palette_ref_tSLOT requires slot < 16; LITERAL and ROLE require slot = 0
 Crmgui_style_palette_refs_tRole-indexed identities retained separately from scalar token references
 Crmgui_style_palette_tCaller-owned palette
 Crmgui_style_resolved_tOne class at a state, font size and UI scale; unused roles are zero
 Crmgui_style_snapshot_tPlain caller-owned value
 Crmgui_style_spacing_tAll declaration metrics are logical px at 100% unless named _pct or _ms
 Crmgui_style_value_t
 Crmgui_svg_diagnostic_tFirst issue's byte offset and static message; count includes all issues found
 Crmgui_svg_tImmutable parsed document
 Crmgui_tab_event_t
 Crmgui_tab_item_tOne tab: nonzero ids, unique within the strip, of the tab's own focus target and of its panel, plus the focus target entered on first visit to the panel (0: none)
 Crmgui_tab_strip_t
 Crmgui_tab_style_t
 Crmgui_tab_tRetained strip state, caller-owned, written by rmgui_tab_init, rmgui_tab_viewport, rmgui_tab_select and rmgui_tab_input; the host reads selected, first_visible, visible_count, sets or clears RMGUI_STYLE_STATE_DISABLED in states, and may set or clear bytes of disabled (disabling the selected tab leaves it selected)
 Crmgui_tab_view_tBorrow an initialized tab model and an optional state->count array of NUL-terminated labels
 Crmgui_table_appearance_tBorrowed, resolved body and header appearance
 Crmgui_table_columns_tWidths, constraints, names and optional order are borrowed arrays of count entries
 Crmgui_table_t
 Crmgui_target_aa_args_tAA shape values in Q16 device pixels; see the command map above
 Crmgui_target_array_args_tArray payload reference and optional polygon color
 Crmgui_target_backdrop_args_tRadial uses x/y/radius; noise uses seed/cell_log2/offset_x/offset_y
 Crmgui_target_backdrop_tile_args_tRepeated premultiplied tile offsets and optional A8 mask resource index
 Crmgui_target_basic_args_tData is copied with memcpy into these layouts; no pointer casts or alignment assumptions apply
 Crmgui_target_blit_args_tSource rectangle, tint and opcode-dependent extra value
 Crmgui_target_blur_args_tIMAGE_BLUR/BACKDROP_BLUR use existing blit.src/tint/extra and rect/clip
 Crmgui_target_border_args_tChecked independent border side widths; flags selects OVER/ADD
 Crmgui_target_composite_args_tRMGUI_CMD_COMPOSITE uses blit.src/tint, rect/clip and an RGBA or SUBSTREAM source resource
 Crmgui_target_contour_args_tPATH_FILL/PATH_STROKE share this data[24] layout
 Crmgui_target_emboss_args_tRelief mask values; resource carries the immutable coverage mask
 Crmgui_target_gradient_args_tLinear endpoints or radial centre/from and Q16 radii/to; stops_offset refers to count rmgui_gradient_stop_t values, count in 1..16
 Crmgui_target_layer_args_tLayer value payload preserves every transform component
 Crmgui_target_layer_shadow_args_tFull transformed scope and its deterministic rounded-rect shadow
 Crmgui_target_mask_args_tMask/radius payload for BLIT_MASKED; offsets are stream-relative
 Crmgui_target_nine_args_tNine-patch value payload with integer scale percent
 Crmgui_target_particles_args_tImmutable particle state snapshot, deterministic fade and streak length
 Crmgui_target_rounded_args_tPer-corner radii, stroke width_q16 or glow blur in value, straight color
 Crmgui_target_shade_args_tShaded nine-patch/tile parameters, copied by value
 Crmgui_target_shadow_args_tCPU window-frame silhouette, uniform radius and blur in device pixels
 Crmgui_target_tTagged destination: a record target has no framebuffer or pixel pointer
  C[union].destination
 Crmgui_target_tile_args_tTile value payload with surface-space origin and scale percent
 Crmgui_text_field_style_t
 Crmgui_text_glyph_tOne positioned glyph, in visual paint order; clusters remain logical byte offsets into the original input, including across wraps
 Crmgui_text_line_tOne broken line: text[offset, end) is painted; the next line starts at next (after trailing blanks and a consumed newline)
 Crmgui_text_options_tNULL options at existing entry points preserves legacy behaviour
 Crmgui_text_prefix_cursor_tOpaque provider state for one forward scan; zero it before the first call
 Crmgui_text_shape_storage_tCaller-owned mutable workspace
 Crmgui_text_shaped_line_tOne visual line, with logical [start,end) and its consumed next offset
 Crmgui_text_shaped_tBorrowed workspace result
 Crmgui_toast_item_tBorrowed message/action strings; timeout_ms=0 persists until dismissed
 Crmgui_toast_tZero-initialize or init
 Crmgui_toggle_tPublic value/states are readable
 Crmgui_toggle_view_tA toggle with a borrowed resolved extension style and an optional borrowed NUL-terminated label
 Crmgui_toolbar_item_t
 Crmgui_toolbar_styles_tBorrowed resolved styles: one per visible item and one for the overflow chevron
 Crmgui_toolbar_t
 Crmgui_tooltip_group_t
 Crmgui_tooltip_placement_t
 Crmgui_tooltip_tZero-initialize states and group
 Crmgui_tooltip_view_tA zero-initialized tooltip state, its borrowed timing group, and optional content hook
 Crmgui_track_binding_tA host/style trigger maps an id to a borrowed track set
 Crmgui_track_event_tPolled completion, also a particle emission hook
 Crmgui_track_feel_recipe_tRead-only example authoring data
 Crmgui_track_key_tA key at time_ms; ease belongs to the segment ending at this key
 Crmgui_track_property_tFour arbitrary channel IDs
 Crmgui_track_spec_tImmutable borrowed recipe
 Crmgui_track_tCaller-owned slot
 Crmgui_tracks_tCaller-owned arrays, disjoint from this pool and borrowed recipes, with byte extents <= SIZE_MAX
 Crmgui_tree_tThe model contains the currently visible preorder projection
 Crmgui_ui_tBorrowed settings for a batch of typed controls
 Crmgui_window_frame_catalog_tAn arranged desktop
 Crmgui_window_frame_constraints_t
 Crmgui_window_frame_decl_tA desktop declaration: windows[0..window_count) are arranged, the first taskbar_count of them also get taskbar cells
 Crmgui_window_frame_drag_tOne pointer drag of a window, caller-owned; zero-initialised is idle
 Crmgui_window_frame_metrics_tChrome metrics are device pixels, except explicitly named percentages and selectors
 Crmgui_window_frame_proposal_t
 Crmgui_window_frame_tRetained control state of one window; zero-initialised is the initial state
 Crmgui_window_frame_view_tCaption control state and optional borrowed, NUL-terminated title
 Crmgui_window_frame_window_decl_tOne declared window of a catalog
 Crmgui_window_frame_window_tOne arranged window
 Crmgui_window_style_tWindow chrome metrics: title_height=0 inherits line height plus extra height; control size=0 and gap=-1 inherit title-button size/gap