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

Method __init__

gui/builtinViewColumns/ammo.py:30–34  ·  view source on GitHub ↗
(self, fittingView, params)

Source from the content-addressed store, hash-verified

28 name = "Ammo"
29
30 def __init__(self, fittingView, params):
31 ViewColumn.__init__(self, fittingView)
32 self.mask = wx.LIST_MASK_IMAGE
33 self.imageId = fittingView.imageList.GetImageIndex("damagePattern_small", "gui")
34 self.bitmap = BitmapLoader.getBitmap("damagePattern_small", "gui")
35
36 def getText(self, stuff):
37 if isinstance(stuff, Fighter):

Callers

nothing calls this directly

Calls 2

GetImageIndexMethod · 0.80
getBitmapMethod · 0.45

Tested by

no test coverage detected