A list control displaying all maps in the MapDatabase. Each map in the list is displayed with the map name, number of players the map is for, the default points to play to, and the name of the map creator.
MapListCtrl.h
A list control displaying all maps in the MapDatabase. | |
The wxMapListCtrl constructor. | |
Sorts the items by the given column index. | |
Reads all the maps from the MapDatabase and inserts the information into the list control. |
|
The wxMapListCtrl constructor. Creates the columns for the list control and then calls ImportMaps to populate the control.
| parent | The parent window. |
| id | The message handling ID. Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control. |
| pos | The list control position in window coordinates. |
| size | The list control size. |
Reads all the maps from the MapDatabase and inserts the information into the list control. |
| void ImportMaps() |
Reads all the maps from the MapDatabase and inserts the information into the list control.
|
|
| void ImportMaps() |