#include <OpenGUI_Imageset.h>
Inheritance diagram for OpenGUI::Imageset:

Public Types | |
| typedef std::list< String > | ImageryList |
| A string list used by Imageset::getImageryList(). | |
Public Member Functions | |
| ImageryPtr | createImagery (String imageryName) |
| Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the entire Imageset area. | |
| ImageryPtr | createImagery (String imageryName, FRect areaRect, IRect imagesetRect=IRect(0, 0, 0, 0)) |
| Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the Imageset area defined by areaRect (which is in standard UV coordinates). | |
| ImageryPtr | createImagery (String imageryName, IRect areaRect) |
| Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the Imageset area defined by areaRect (which is in pixels). | |
| ImageryPtr | createImagery (const String imageryName, int top, int left, int height, int width) |
| Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the Imageset area defined by top,left,height,width. | |
| void | destroyImagery (ImageryPtr imageryPtr) |
| Destroys an Imagery object. | |
| void | destroyImagery (Imagery *pImagery) |
| Destroys an Imagery object. | |
| void | destroyImagery (String name) |
| Destroys an Imagery object. | |
| void | destroyAllImagery () |
| Destroys all Imagery within this Imageset. | |
| ImageryPtr | getImagery (String imageryName) const |
| Returns a shared pointer to the Imagery object within this Imageset that has the given name. If the Imagery cannot be found, the returned Imagery pointer will be == 0. | |
| ImageryList | getImageryList () const |
| Returns a list of all imagery currently defined within this imageset. Entries can be fed back into getImagery(). | |
| TexturePtr | getTexture () const |
| Returns the texture backing this Imageset. | |
| const String & | getName () const |
| Returns the name of this Imageset. | |
| size_t | getImageryCount () const |
| returns the total number of Imagery defined under this Imageset | |
|
|
A string list used by Imageset::getImageryList().
|
|
||||||||||||||||||||||||
|
Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the Imageset area defined by top,left,height,width.
|
|
||||||||||||
|
Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the Imageset area defined by areaRect (which is in pixels).
|
|
||||||||||||||||
|
Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the Imageset area defined by areaRect (which is in standard UV coordinates).
|
|
|
Creates a new Imagery object from this Imageset and returns a shared pointer to the new Imagery. The new Imagery will encompass the entire Imageset area.
|
|
|
Destroys all Imagery within this Imageset.
|
|
|
Destroys an Imagery object.
|
|
|
Destroys an Imagery object.
|
|
|
Destroys an Imagery object. This performs a "safe destruction" of the Imagery object. Since Imagery object references are handed out only by RefPtrs, the object will never truly destroy until all references to the Imagery object are deleted. This function does however disconnect the Imagery object from this Imageset. Since Imagery objects contain the RefPtr to the texture they use, the Imagery will be valid until all handles are destroyed. |
|
|
Returns a shared pointer to the Imagery object within this Imageset that has the given name. If the Imagery cannot be found, the returned Imagery pointer will be == 0.
|
|
|
returns the total number of Imagery defined under this Imageset
|
|
|
Returns a list of all imagery currently defined within this imageset. Entries can be fed back into getImagery().
|
|
|
Returns the name of this Imageset.
|
|
|
Returns the texture backing this Imageset.
|