Esempio n. 1
0
	def display(self):
		gf = GfCenter()
		# display image
		gf.drawMeSquare(self.x, self.y, self.w, self.h, (self.color[0], self.color[1], self.color[2]))
		#print self.tag, self.x, self.y, self.w, self.h
		for v in self.subView:
			v.display()
Esempio n. 2
0
		def init():
			gf = GfCenter()
			gf.loadTextureForWidgetRegistered()
Esempio n. 3
0
	def display(self):
		gf = GfCenter()
		gf.drawMeTexturedSquare(self.x, self.y, self.w, self.h, self.color, self.idImage)
		for v in self.subView:
			v.display()
Esempio n. 4
0
	def __init__(self, pos, size, tag, container, color, id, link):
		SRView.SRView.__init__(self, pos, size, tag, container, color, id)
		self.link = link
		gf = GfCenter()
		self.idImage = 0
		gf.registerToLoadTexture(self)
Esempio n. 5
0
	def display(self):
		gf = GfCenter()
		# display image
		gf.drawMeSquare(self.x, self.y, self.w, self.h, self.color)
		for v in self.subView:
			v.display()
Esempio n. 6
0
 def display(self):
     gf = GfCenter()
     gf.drawMeSquare(self.x, self.y, self.w, self.h, (self.color[0], self.color[1], self.color[2]))
     for v in self.subView:
         v.display()