|
Panda3D
|
Public Member Functions | |
| def | __init__ |
| def | addImage |
| def | makeICNS |
| def | makeICO |
Public Attributes | |
| images | |
Static Public Attributes | |
| tuple | notify = directNotify.newCategory("Icon") |
This class is used to create an icon for various platforms.
| def __init__ | ( | self | ) |
| def addImage | ( | self, | |
| image | |||
| ) |
Adds an image to the icon. Returns False on failure, True on success. Only one image per size can be loaded, and the image size must be square.
| def makeICNS | ( | self, | |
| fn | |||
| ) |
Writes the images to an Apple ICNS file. Returns True on success.
| def makeICO | ( | self, | |
| fn | |||
| ) |
Writes the images to a Windows ICO file. Returns True on success.
tuple notify = directNotify.newCategory("Icon") [static] |
1.7.3