MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / redrawResearchList

Method redrawResearchList

game/ui/base/researchselect.cpp:197–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197void 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
212void ResearchSelect::populateResearchList()
213{

Callers 1

beginMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected