FORMS_DrawListItem

A function defined in FORMS_DrawListItem.gml

FORMS_DrawListItem(_name, _x, _y, _active, _disabled[, _highlight])

Description

Draws a list item on the given position.

Arguments

Name Type Description
_name String The item name.
_x Real The x position to draw the item at.
_y Real The y position to draw the item at.
_active Bool True if the item is currently selected.
_disabled Bool True to disable clicking on the item.
_highlight Bool True to highlight the item.

Returns

Real If the item is clicked, then 1 is returned. If the mouse cursor is currently over the item, then -1 is returned. In all other cases returns 0.


Copyright © 2024, BlueBurn. Built on September 03, 2024 using GMDoc.