示例#1
0
文件: weekcal.py 项目: Noori/starcal
 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)
示例#2
0
 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)
示例#3
0
	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)