Skip to content

Struct SYN_IMGUI_Scroll

ClassList > 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

int16_t SYN_IMGUI_Scroll::content_start;

Layout cursor Y at scroll_begin


variable focus_h

uint16_t SYN_IMGUI_Scroll::focus_h;

Height of focused widget


variable focus_y

uint16_t SYN_IMGUI_Scroll::focus_y;

Y position of focused widget (for auto-scroll)


variable in_scroll

bool SYN_IMGUI_Scroll::in_scroll;

True while between scroll_begin / scroll_end


variable scroll_p

int16_t* SYN_IMGUI_Scroll::scroll_p;

Pointer to user-owned scroll offset


variable vp_h

int16_t SYN_IMGUI_Scroll::vp_h;

Viewport height


variable vp_w

int16_t SYN_IMGUI_Scroll::vp_w;

Viewport width


variable vp_x

int16_t SYN_IMGUI_Scroll::vp_x;

Viewport left edge


variable vp_y

int16_t SYN_IMGUI_Scroll::vp_y;

Viewport top edge



The documentation for this class was generated from the following file src/syntropic/ui/syn_imgui.h