MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / columnBackground

Method columnBackground

gui/builtinMarketBrowser/itemView.py:289–294  ·  view source on GitHub ↗
(self, colItem, item)

Source from the content-addressed store, hash-verified

287 Display.refresh(self, items)
288
289 def columnBackground(self, colItem, item):
290 if self.sFit.serviceFittingOptions["colorFitBySlot"]:
291 colorMap = slotColourMapDark if isDark() else slotColourMap
292 return colorMap.get(Module.calculateSlot(item)) or self.GetBackgroundColour()
293 else:
294 return self.GetBackgroundColour()

Callers

nothing calls this directly

Calls 3

isDarkFunction · 0.90
calculateSlotMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected