Struct SYN_IMGUI_Scroll¶
Scroll region state for scrollable IMGUI panels.
#include <syn_imgui.h>
Public Attributes¶
| Type | Name |
|---|---|
| int16_t | content_start |
| uint16_t | focus_h |
| uint16_t | focus_y |
| bool | in_scroll |
| int16_t * | scroll_p |
| int16_t | vp_h |
| int16_t | vp_w |
| int16_t | vp_x |
| int16_t | vp_y |
Public Attributes Documentation¶
variable content_start¶
Layout cursor Y at scroll_begin
variable focus_h¶
Height of focused widget
variable focus_y¶
Y position of focused widget (for auto-scroll)
variable in_scroll¶
True while between scroll_begin / scroll_end
variable scroll_p¶
Pointer to user-owned scroll offset
variable vp_h¶
Viewport height
variable vp_w¶
Viewport width
variable vp_x¶
Viewport left edge
variable vp_y¶
Viewport top edge
The documentation for this class was generated from the following file src/syntropic/ui/syn_imgui.h