示例#1
0
 def getImageIndices(self, task):
     bitmap, bitmap_selected = render.taskBitmapNames(task)
     return self.imageIndex[bitmap], self.imageIndex[bitmap_selected]
示例#2
0
 def iconName(self, task, isSelected):
     bitmap, bitmap_selected = render.taskBitmapNames(task, 
                                                      self.children(task))
     if isSelected:
         bitmap = bitmap_selected
     return bitmap