Struct in ldk_ui.h

LDKUIScrollViewCache

typedef struct LDKUIScrollViewCache LDKUIScrollViewCache;
Enum in ldk_ui.h

LDKUIScrollViewFlags

typedef enum LDKUIScrollViewFlags{
  LDK_UI_SCROLL_NONE=0,
  LDK_UI_SCROLL_VERTICAL=1<<0,
  LDK_UI_SCROLL_HORIZONTAL=1<<1,
  LDK_UI_SCROLL_IF_NEEDED=1<<2,
}LDKUIScrollViewFlags;
Struct in ldk_ui.h

LDKUIScrollViewStackEntry

typedef struct LDKUIScrollViewStackEntry LDKUIScrollViewStackEntry;
Macro in ldk_ui.h

LDK_UI_SCROLLVIEW_CACHE_CAPACITY

#define LDK_UI_SCROLLVIEW_CACHE_CAPACITY 16
Macro in ldk_ui.h

LDK_UI_SCROLLVIEW_STACK_CAPACITY

#define LDK_UI_SCROLLVIEW_STACK_CAPACITY 16
Function in ldk_ui.h

ldk_ui_begin_scrollview

Begin a scrollable region and restore its scroll position.

LDK_API LDKUIPoint ldk_ui_begin_scrollview(
 LDKUIContext *ctx,
 LDKUIPoint scroll,
 u32 flags
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIPoint scroll
Current scroll offset.
u32 flags
Bitmask of options controlling this operation.

Returns

The resulting point.

Function in ldk_ui.h

ldk_ui_end_scrollview

End the active scrollable region.

LDK_API void ldk_ui_end_scrollview(LDKUIContext *ctx);

Parameters

LDKUIContext *ctx
UI context used by this operation.