SetActiveMap sets the current ActiveKeyMap, calling Update on the map prior to setting it to ensure that it is a valid, complete map
(km *Map, kmName MapName)
| 119 | // SetActiveMap sets the current ActiveKeyMap, calling Update on the map |
| 120 | // prior to setting it to ensure that it is a valid, complete map |
| 121 | func SetActiveMap(km *Map, kmName MapName) { |
| 122 | km.Update(kmName) |
| 123 | ActiveMap = km |
| 124 | ActiveMapName = kmName |
| 125 | } |
| 126 | |
| 127 | // SetActiveMapName sets the current ActiveKeyMap by name from those |
| 128 | // defined in AvailKeyMaps, calling Update on the map prior to setting it to |
no test coverage detected