imguiBeginScrollArea

Begin the definition of a new scrollable area.

Once elements within the scrollable area are defined you must call imguiEndScrollArea to end the definition.

bool
imguiBeginScrollArea
(
const(char)[] title
,
int xPos
,
int yPos
,
int width
,
int height
,
int* scroll
,)

Parameters

title const(char)[]

The title that will be displayed for this scroll area.

xPos int

The X position of the scroll area.

yPos int

The Y position of the scroll area.

width int

The width of the scroll area.

height int

The height of the scroll area.

scroll int*

A pointer to a variable which will hold the current scroll value of the widget.

colorScheme ColorScheme

Optionally override the current default color scheme when creating this element.

Return Value

Type: bool

true if the mouse was located inside the scrollable area.

Meta