Add static images to the CEGUI used in Ogre, we need assemble images into a tga files in the imageset form.
First, create a tga image file containing all the needed images.
1) Using Photoshop, create a new document with transparent background.
2) Put all the images in that document and arrange them in a good order and position;
3) Select only those will not be transparent parts and all these kinds of parts, in the channel frame, click the button"Save Selection as Channel" the one which is shown as a dark rectangle with whit circle. After clicking this button, a new alpha channel will be created. Note, if there already exists an alpha channel delete it.
4) Save the document as tga file format. And this step is done.
Second, create a *.imageset file, which is a XML based file to describe the tga file, the format is something like this:
Finally, we can use those images in CEGUI.
When create a staticImage window, set the Image property to something like this:
Then it's done.