summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generate_resources.py13
-rw-r--r--res/edit.gifbin0 -> 119 bytes
-rw-r--r--res/minus.gifbin0 -> 112 bytes
-rw-r--r--res/next.gifbin0 -> 74 bytes
-rw-r--r--res/plus.gifbin0 -> 111 bytes
-rw-r--r--res/refresh.gifbin0 -> 104 bytes
-rw-r--r--res/restart.gifbin0 -> 149 bytes
-rw-r--r--res/sync.gifbin0 -> 106 bytes
8 files changed, 13 insertions, 0 deletions
diff --git a/generate_resources.py b/generate_resources.py
new file mode 100644
index 0000000..4895f86
--- /dev/null
+++ b/generate_resources.py
@@ -0,0 +1,13 @@
+import base64, glob
+
+print 'import Tix as tk'
+print
+
+for image in glob.glob('res/*.gif'):
+ print image.upper().replace('.', '_').replace('RES\\', '').replace('_GIF', '_ICON'), '= tk.PhotoImage(data=\'\'\''
+ content = base64.b64encode(file(image, 'rb').read())
+ while len(content) > 0:
+ chunk = content[0:80]
+ content = content[80:]
+ print chunk
+ print '\'\'\')'
diff --git a/res/edit.gif b/res/edit.gif
new file mode 100644
index 0000000..9dab19e
--- /dev/null
+++ b/res/edit.gif
Binary files differ
diff --git a/res/minus.gif b/res/minus.gif
new file mode 100644
index 0000000..48760d1
--- /dev/null
+++ b/res/minus.gif
Binary files differ
diff --git a/res/next.gif b/res/next.gif
new file mode 100644
index 0000000..3cc8e8b
--- /dev/null
+++ b/res/next.gif
Binary files differ
diff --git a/res/plus.gif b/res/plus.gif
new file mode 100644
index 0000000..d187118
--- /dev/null
+++ b/res/plus.gif
Binary files differ
diff --git a/res/refresh.gif b/res/refresh.gif
new file mode 100644
index 0000000..a5211df
--- /dev/null
+++ b/res/refresh.gif
Binary files differ
diff --git a/res/restart.gif b/res/restart.gif
new file mode 100644
index 0000000..584e687
--- /dev/null
+++ b/res/restart.gif
Binary files differ
diff --git a/res/sync.gif b/res/sync.gif
new file mode 100644
index 0000000..ceace6f
--- /dev/null
+++ b/res/sync.gif
Binary files differ