copy a texture definition and it's patches into this dir

This commit is contained in:
Jon Dowland 2008-01-29 18:21:37 +00:00
parent 93195a0962
commit 6b363e237a
6 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1 @@
fredrik/comp02_1.gif

View file

@ -0,0 +1 @@
fredrik/comp02_2.gif

View file

@ -0,0 +1 @@
fredrik/comp02_3.gif

View file

@ -0,0 +1 @@
fredrik/comp02_7.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 892 B

View file

@ -6,12 +6,21 @@ import gtk.glade
class HellowWorldGTK:
"""This is an Hello World GTK application"""
example_texture = """
COMPUTE2 256 56
* COMP02_1 0 0
* COMP02_2 64 0
* COMP02_3 128 0
* COMP02_7 192 0
"""
def __init__(self):
self.gladefile = "cleanroom.glade"
self.wTree = gtk.glade.XML(self.gladefile,"window1")
self.image1 = self.wTree.get_widget("orig_texture")
self.image1.set_from_file("sw2_1.gif")
self.image1.set_from_file("comp02_1.gif")
pixbuf = self.image1.get_pixbuf()
if pixbuf:
scale = 3