|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
The owner supplies key (0 for host panes), axes, visibility and a scale in 1..400 before layout. More...
#include <scroll.h>
Data Fields | |
| uint64_t | key |
| rmgui_scroll_axes_t | axes |
| rmgui_scroll_visibility_t | scrollbar |
| int | scale_percent |
| int | offset_x |
| int | offset_y |
| int | content_w |
| int | content_h |
| int | viewport_w |
| int | viewport_h |
| rmgui_scroll_bar_t | horizontal |
| rmgui_scroll_bar_t | vertical |
| const rmgui_style_snapshot_t * | style |
| uint8_t | states |
The owner supplies key (0 for host panes), axes, visibility and a scale in 1..400 before layout.
Layout stores nonnegative extents and clamps offsets; each axis has independent geometry and one pointer may capture one bar.
Borrowed, immutable geometry/repeat declaration; NULL uses builtin. Must outlive state use; replace only before layout, never concurrently.
Host-owned DISABLED only; all other bits must be zero.
| uint64_t rmgui_scroll_t::key |
| rmgui_scroll_axes_t rmgui_scroll_t::axes |
| rmgui_scroll_visibility_t rmgui_scroll_t::scrollbar |
| int rmgui_scroll_t::scale_percent |
| int rmgui_scroll_t::offset_x |
| int rmgui_scroll_t::offset_y |
| int rmgui_scroll_t::content_w |
| int rmgui_scroll_t::content_h |
| int rmgui_scroll_t::viewport_w |
| int rmgui_scroll_t::viewport_h |
| rmgui_scroll_bar_t rmgui_scroll_t::horizontal |
| rmgui_scroll_bar_t rmgui_scroll_t::vertical |
| const rmgui_style_snapshot_t* rmgui_scroll_t::style |
| uint8_t rmgui_scroll_t::states |