rename new image, add to encode_bitmaps.py

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-05-11 15:28:01 +00:00
parent d330c453a5
commit dad1c9b9ae
3 changed files with 12 additions and 8 deletions

View File

Before

Width:  |  Height:  |  Size: 701 B

After

Width:  |  Height:  |  Size: 701 B

View File

@@ -125,6 +125,7 @@ command_lines = [
"-a -u -c bmp_source/pyshell.png images.py",
"-a -u -c bmp_source/recent.png images.py",
"-a -u -c bmp_source/saveperspective.png images.py",
"-a -u -c bmp_source/customcontrol.png images.py",
" -u -c bmp_source/001.png throbImages.py",

View File

@@ -14408,7 +14408,9 @@ catalog['saveperspective'].getData = getsaveperspectiveData
catalog['saveperspective'].getImage = getsaveperspectiveImage
catalog['saveperspective'].getBitmap = getsaveperspectiveBitmap
def getCustomControlData():
#----------------------------------------------------------------------
def getcustomcontrolData():
return \
'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\
\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\
@@ -14439,16 +14441,17 @@ def getCustomControlData():
\xe4\xaf\xc1/_\xff\xb7\xdf\xfd\x17\xfd\r*\xb1L*W\n\xe5H\x00\x00\x00\x00IEND\
\xaeB`\x82'
def getCustomControlBitmap():
return BitmapFromImage(getCustomControlImage())
def getcustomcontrolBitmap():
return BitmapFromImage(getcustomcontrolImage())
def getCustomControlImage():
stream = cStringIO.StringIO(getCustomControlData())
def getcustomcontrolImage():
stream = cStringIO.StringIO(getcustomcontrolData())
return ImageFromStream(stream)
index.append('customcontrol')
catalog['customcontrol'] = ImageClass()
catalog['customcontrol'].getData = getCustomControlData
catalog['customcontrol'].getImage = getCustomControlImage
catalog['customcontrol'].getBitmap = getCustomControlBitmap
catalog['customcontrol'].getData = getcustomcontrolData
catalog['customcontrol'].getImage = getcustomcontrolImage
catalog['customcontrol'].getBitmap = getcustomcontrolBitmap