def drawBox(self, cr, box): x = box.y y = box.x w = box.h h = box.w ### tbox.drawBoxBG(cr, box, x, y, w, h) tbox.drawBoxText(cr, box, x, y, w, h, self)
def drawBox(self, cr, box): from scal2.ui_gtk import timeline_box as tbox ### x = box.y y = box.x w = box.h h = box.w ### tbox.drawBoxBG(cr, box, x, y, w, h) tbox.drawBoxText(cr, box, x, y, w, h, self)