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

Method __init__

gui/builtinViewColumns/capacitorUse.py:43–50  ·  view source on GitHub ↗
(self, fittingView, params)

Source from the content-addressed store, hash-verified

41 name = 'Capacitor Usage'
42
43 def __init__(self, fittingView, params):
44 ViewColumn.__init__(self, fittingView)
45
46 self.mask = wx.LIST_MASK_IMAGE
47
48 Attribute.getInstance().getAttributeInfo('capacitorNeed')
49 self.imageId = fittingView.imageList.GetImageIndex('capacitorRecharge_small', 'gui')
50 self.bitmap = BitmapLoader.getBitmap('capacitorRecharge_small', 'gui')
51
52 def getText(self, mod):
53 if isinstance(mod, Mode):

Callers

nothing calls this directly

Calls 4

getAttributeInfoMethod · 0.80
GetImageIndexMethod · 0.80
getInstanceMethod · 0.45
getBitmapMethod · 0.45

Tested by

no test coverage detected