mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 07:25:45 -04:00
copy a texture definition and it's patches into this dir
This commit is contained in:
parent
93195a0962
commit
6b363e237a
6 changed files with 14 additions and 1 deletions
1
tools/cleanroom/comp02_1.gif
Symbolic link
1
tools/cleanroom/comp02_1.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
fredrik/comp02_1.gif
|
1
tools/cleanroom/comp02_2.gif
Symbolic link
1
tools/cleanroom/comp02_2.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
fredrik/comp02_2.gif
|
1
tools/cleanroom/comp02_3.gif
Symbolic link
1
tools/cleanroom/comp02_3.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
fredrik/comp02_3.gif
|
1
tools/cleanroom/comp02_7.gif
Symbolic link
1
tools/cleanroom/comp02_7.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
fredrik/comp02_7.gif
|
Binary file not shown.
Before Width: | Height: | Size: 892 B |
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue