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:
Before Width: | Height: | Size: 701 B After Width: | Height: | Size: 701 B |
@@ -125,6 +125,7 @@ command_lines = [
|
|||||||
"-a -u -c bmp_source/pyshell.png images.py",
|
"-a -u -c bmp_source/pyshell.png images.py",
|
||||||
"-a -u -c bmp_source/recent.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/saveperspective.png images.py",
|
||||||
|
"-a -u -c bmp_source/customcontrol.png images.py",
|
||||||
|
|
||||||
|
|
||||||
" -u -c bmp_source/001.png throbImages.py",
|
" -u -c bmp_source/001.png throbImages.py",
|
||||||
|
@@ -14408,7 +14408,9 @@ catalog['saveperspective'].getData = getsaveperspectiveData
|
|||||||
catalog['saveperspective'].getImage = getsaveperspectiveImage
|
catalog['saveperspective'].getImage = getsaveperspectiveImage
|
||||||
catalog['saveperspective'].getBitmap = getsaveperspectiveBitmap
|
catalog['saveperspective'].getBitmap = getsaveperspectiveBitmap
|
||||||
|
|
||||||
def getCustomControlData():
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
def getcustomcontrolData():
|
||||||
return \
|
return \
|
||||||
'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\
|
'\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\
|
\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\
|
\xe4\xaf\xc1/_\xff\xb7\xdf\xfd\x17\xfd\r*\xb1L*W\n\xe5H\x00\x00\x00\x00IEND\
|
||||||
\xaeB`\x82'
|
\xaeB`\x82'
|
||||||
|
|
||||||
def getCustomControlBitmap():
|
def getcustomcontrolBitmap():
|
||||||
return BitmapFromImage(getCustomControlImage())
|
return BitmapFromImage(getcustomcontrolImage())
|
||||||
|
|
||||||
def getCustomControlImage():
|
def getcustomcontrolImage():
|
||||||
stream = cStringIO.StringIO(getCustomControlData())
|
stream = cStringIO.StringIO(getcustomcontrolData())
|
||||||
return ImageFromStream(stream)
|
return ImageFromStream(stream)
|
||||||
|
|
||||||
index.append('customcontrol')
|
index.append('customcontrol')
|
||||||
catalog['customcontrol'] = ImageClass()
|
catalog['customcontrol'] = ImageClass()
|
||||||
catalog['customcontrol'].getData = getCustomControlData
|
catalog['customcontrol'].getData = getcustomcontrolData
|
||||||
catalog['customcontrol'].getImage = getCustomControlImage
|
catalog['customcontrol'].getImage = getcustomcontrolImage
|
||||||
catalog['customcontrol'].getBitmap = getCustomControlBitmap
|
catalog['customcontrol'].getBitmap = getcustomcontrolBitmap
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user