Skip to content

SetupMenu (RSDKv4)

Description

Sets up menu with rowCount rows, selectionCount active selections and aligning set to alignment.

Parameters

menu

The menu to setup. MENU_1 or MENU_2 are valid.

rowCount

The amount of rows the menu starts with.

selectionCount

Selection of highlight.

alignment

Alignment of the text. 0 is right aligned, 1 is left aligned, and 2 is centered.

Return Value

None.

Syntax

SetupMenu(int menu, int rowCount, int selectionCount, int alignment)

Example

SetupMenu(MENU_1, 0, 3, 1)