コード例 #1
0
ファイル: SRButton.py プロジェクト: wavs/pfe-2011-scia
	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()
コード例 #2
0
ファイル: Board.py プロジェクト: wavs/pfe-2011-scia
		def init():
			gf = GfCenter()
			gf.loadTextureForWidgetRegistered()
コード例 #3
0
ファイル: SRImage.py プロジェクト: wavs/pfe-2011-scia
	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()
コード例 #4
0
ファイル: SRImage.py プロジェクト: wavs/pfe-2011-scia
	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)
コード例 #5
0
ファイル: SRFixe.py プロジェクト: wavs/pfe-2011-scia
	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()
コード例 #6
0
ファイル: SRView.py プロジェクト: wavs/pfe-2011-scia
 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()