def refresh(self):
    if (self.parent.model is None):
        self.items = ['No Model']
        self.cursorPos = 0
        return
    self.items = ['Box Bone 02  14   1617 Radius  X      Y      Z']
    for (i, box) in enumerate(self.parent.model.hitboxes):
        self.items.append(('%3d %04X %04X %04X %02X%02X %+7.2f %+7.2f %+7.2f %+7.2f' % (i, box.bone, box.unk02, box.unk14, box.unk16, box.unk17, box.radius, box.pos[0], box.pos[1], box.pos[2])))
    self.cursorPos = 0
def refresh(self):
    if (self.parent.model is None):
        self.items = ['No Model']
        self.cursorPos = 0
        return
    self.items = ['Box Bone 02  14   1617 Radius  X      Y      Z']
    for (i, box) in enumerate(self.parent.model.hitboxes):
        self.items.append(('%3d %04X %04X %04X %02X%02X %+7.2f %+7.2f %+7.2f %+7.2f' % (i, box.bone, box.unk02, box.unk14, box.unk16, box.unk17, box.radius, box.pos[0], box.pos[1], box.pos[2])))
    self.cursorPos = 0