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

Zero-initialize before bind. More...

#include <combo.h>

Data Fields

rmgui_field_t field
const char *const * entries
size_t count
size_t * matches
size_t match_capacity
size_t match_count
size_t active
size_t selected
size_t first
size_t visible_rows
char * committed
size_t committed_capacity
size_t committed_length
rmgui_combo_match_fn matcher
void * matcher_user
rmgui_combo_match_t mode
unsigned flags
uint8_t open

Detailed Description

Zero-initialize before bind.

The embedded field owns editing, host services, focus, selection and IME. Entries and strings remain immutable while bound. matches has capacity >= count; committed has field.capacity+1 bytes and must not alias field storage. Mutate flags/mode/matcher then call filter. Other members are read-only. No allocation; all indices are size_t.

Field Documentation

◆ field

rmgui_field_t rmgui_combo_t::field

◆ entries

const char* const* rmgui_combo_t::entries

◆ count

size_t rmgui_combo_t::count

◆ matches

size_t * rmgui_combo_t::matches

◆ match_capacity

size_t rmgui_combo_t::match_capacity

◆ match_count

size_t rmgui_combo_t::match_count

◆ active

size_t rmgui_combo_t::active

◆ selected

size_t rmgui_combo_t::selected

◆ first

size_t rmgui_combo_t::first

◆ visible_rows

size_t rmgui_combo_t::visible_rows

◆ committed

char* rmgui_combo_t::committed

◆ committed_capacity

size_t rmgui_combo_t::committed_capacity

◆ committed_length

size_t rmgui_combo_t::committed_length

◆ matcher

rmgui_combo_match_fn rmgui_combo_t::matcher

◆ matcher_user

void* rmgui_combo_t::matcher_user

◆ mode

rmgui_combo_match_t rmgui_combo_t::mode

◆ flags

unsigned rmgui_combo_t::flags

◆ open

uint8_t rmgui_combo_t::open

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