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
Type: const(char)[]

The title that will be displayed for this scroll area.

xPos
Type: int

The X position of the scroll area.

yPos
Type: int

The Y position of the scroll area.

width
Type: int

The width of the scroll area.

height
Type: int

The height of the scroll area.

scroll
Type: int*

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

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