Example_DefaultIcons
Description
Full source code is included in the Tinman 3D SDK download. |
This example shows how to generate an IconAtlas.
jQuery UI - Interactions and Widgets for the web
https://github.com/jquery/jquery-ui
This class will generate the icon atlas image resource that is loaded by the DefaultIcons class, as well as the icon constants, including their ascii-art.
Public / Methods
GenerateIconAtlas
Generates the icon atlas for DefaultIcons.
- IOException
-
If an I/O error has occurred.
- ValidatingException
-
If uiIcons in has an unsupported image format.
Handle
Use this method to obtain a IResourceHandle for the icon atlas image file that has been output by GenerateIconAtlas.
From your own subclass of IconAtlas, pass the returned handle to the constructor, together with an icon size of 12x12 pixels.