MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / RebuildRaces

Method RebuildRaces

gui/builtinShipBrowser/raceSelector.py:156–163  ·  view source on GitHub ↗
(self, races)

Source from the content-addressed store, hash-verified

154 return None
155
156 def RebuildRaces(self, races):
157 self.raceBmps = []
158 for race in races:
159 if race:
160 self.raceBmps.append(BitmapLoader.getBitmap("race_%s_small" % race, "gui"))
161 self.raceNames = races
162 self.CalcButtonsBarPos()
163 self.Refresh()
164
165 def OnBackgroundErase(self, event):
166 pass

Callers 6

__init__Method · 0.95
stage1Method · 0.80
stage2CallbackMethod · 0.80
stage3Method · 0.80
searchStageMethod · 0.80
importStageMethod · 0.80

Calls 4

CalcButtonsBarPosMethod · 0.95
appendMethod · 0.45
getBitmapMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected