| 195 | } |
| 196 | |
| 197 | void ResearchSelect::redrawResearchList() |
| 198 | { |
| 199 | for (auto &pair : control_map) |
| 200 | { |
| 201 | if (current_topic == pair.first) |
| 202 | { |
| 203 | pair.second->BackgroundColour = {127, 0, 0, 255}; |
| 204 | } |
| 205 | else |
| 206 | { |
| 207 | pair.second->BackgroundColour = {0, 0, 0, 0}; |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | void ResearchSelect::populateResearchList() |
| 213 | { |