List Setup

The GUI should create all the columns that is expected by the enumerator similar to in the example above. Once the column have been created fillFromEnumerator may be called to fill the list. The enumerator will always clear the list before it starts filling it.

The valid enumerator names can be found in the gamecode in idGameLocal::Init:

demoList - list of netdemos.

crosshairs - list of all custom crosshairs available.

keyBindings - list of key bindings for a category.

vehiclePlayerList - players in a vehicle.

activeTaskList - Currently selectable/Active tasks.

fireTeamList - Fireteam menu.

inventoryList - Weapon items in limbo menu.

scoreboardList - List of players in the scoreboard.

playerAdminList - List admin and superuser players.

userGroupsList - List all user groups.

serverConfigList - List all the server configs that can be executed.

videoModeList - All the video modes available.

campaignList - List maps for a campaign.

mapList - List all maps.

weaponSwitchList - Weapon selection when switching weapon in the hud.

callVoteList - List all votes.

callVoteListOptions - List all options for the current vote.

colors - Color picker list.

spawnLocations - Spawn locations currently available.

availableMSAA - List available anti-aliasing options.

Item and Column Formatting

The gamecode often inserts one item for each row even when multiple columns is wanted. This is possible since the GUIs support inline material names/text formatting/localized text/item flags, and support for inserting multiple columns with the use of the indentation escape code (\t) to separate between columns: