]> git.saurik.com Git - wxWidgets.git/blame - wxPython/demo/encode_bitmaps.py
LessTif 0.93 does not hang in wxWindow::ChangeFont as 0.87 did:
[wxWidgets.git] / wxPython / demo / encode_bitmaps.py
CommitLineData
96bfd053
RD
1#!/usr/bin/env python
2#----------------------------------------------------------------------
3
4"""
5This is a way to save the startup time when running img2py on lots of
6files...
7"""
8
9import sys, string
bd4b9c8c 10from wxPython.tools import img2py
96bfd053
RD
11
12
13command_lines = [
afb810d9
RD
14 " -u -i -n Mondrian bmp_source/mondrian.ico images.py",
15
16 "-a -u -n _10s_ bmp_source/10s.gif images.py",
17 "-a -u -n _01c_ bmp_source/01c.gif images.py",
18 "-a -u -n _12h_ bmp_source/12h.gif images.py",
19 "-a -u -n _13d_ bmp_source/13d.gif images.py",
20 "-a -u -n Background bmp_source/backgrnd.png images.py",
21 "-a -u -n TestStar -m #FFFFFF bmp_source/teststar.png images.py",
22 "-a -u -n TestStar2 bmp_source/teststar.png images.py",
23 "-a -u -n TestMask bmp_source/testmask.bmp images.py",
24
25 "-a -u -n Test2 bmp_source/test2.bmp images.py",
26 "-a -u -n Robin bmp_source/robin.jpg images.py",
27
28 "-a -u -n Bulb1 bmp_source/lb1.bmp images.py",
29 "-a -u -n Bulb2 bmp_source/lb2.bmp images.py",
30
31 "-a -u -n Calendar bmp_source/Calend.bmp images.py",
32 "-a -u -n DbDec bmp_source/DbDec.bmp images.py",
33 "-a -u -n Dec bmp_source/Dec.bmp images.py",
34 "-a -u -n Pt bmp_source/Pt.bmp images.py",
35 "-a -u -n DbInc bmp_source/DbInc.bmp images.py",
36 "-a -u -n Inc bmp_source/Inc.bmp images.py",
37
38 "-a -u -n New -m #C0C0C0 bmp_source/new.bmp images.py",
39 "-a -u -n Open -m #C0C0C0 bmp_source/open.bmp images.py",
40 "-a -u -n Copy -m #C0C0C0 bmp_source/copy.bmp images.py",
41 "-a -u -n Paste -m #C0C0C0 bmp_source/paste.bmp images.py",
42 "-a -u -n Tog1 -m #C0C0C0 bmp_source/tog1.bmp images.py",
43 "-a -u -n Tog2 -m #C0C0C0 bmp_source/tog2.bmp images.py",
44
45 "-a -u -n Smiles -m #FFFFFF bmp_source/smiles2.bmp images.py",
46
47 "-a -u -n GridBG bmp_source/GridBG.gif images.py",
48
49 "-a -u -n SmallUpArrow -m #0000FF bmp_source/sm_up.bmp images.py",
50 "-a -u -n SmallDnArrow -m #0000FF bmp_source/sm_down.bmp images.py",
51
52 "-a -u -n Folder1 -m #FFFFFF bmp_source/folder1.bmp images.py",
53 "-a -u -n Folder2 -m #FFFFFF bmp_source/folder2.bmp images.py",
54 "-a -u -n Folder3 -m #FFFFFF bmp_source/folder3.bmp images.py",
55 "-a -u -n File1 -m #FFFFFF bmp_source/file1.bmp images.py",
56 "-a -u -n File2 -m #FFFFFF bmp_source/file2.bmp images.py",
57
af83019e
RD
58 "-a -u -n NoIcon bmp_source/noicon.png images.py",
59
60 "-a -u -n WizTest1 bmp_source/wiztest1.bmp images.py",
61 "-a -u -n WizTest2 bmp_source/wiztest2.bmp images.py",
611dc22c 62
96bfd053
RD
63 ]
64
65
66for line in command_lines:
67 args = string.split(line)
68 img2py.main(args)
69