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

Method __init__

gui/builtinViewColumns/heat.py:138–146  ·  view source on GitHub ↗
(self, fittingView, params)

Source from the content-addressed store, hash-verified

136 name = "Heat"
137
138 def __init__(self, fittingView, params):
139 ViewColumn.__init__(self, fittingView)
140 self.mainFrame = gui.mainFrame.MainFrame.getInstance()
141 self.resizable = False
142 self.size = 54
143 self.maxsize = self.size * 2
144 self.imageId = fittingView.imageList.GetImageIndex("state_overheated_small", "gui")
145 self.bitmap = BitmapLoader.getBitmap("state_overheated_small", "gui")
146 self.mask = wx.LIST_MASK_IMAGE
147
148 def getText(self, mod):
149 if not isinstance(mod, Module) or mod.state != FittingModuleState.OVERHEATED:

Callers

nothing calls this directly

Calls 3

GetImageIndexMethod · 0.80
getInstanceMethod · 0.45
getBitmapMethod · 0.45

Tested by

no test coverage detected