Image map interface.
Pages | |
| virtual void | SetMaxNumPages (tU32 anMax)=0 |
| Set the maximum number of pages. {Property}. More... | |
| virtual tU32 | GetMaxNumPages () const =0 |
| Get the maximum number of pages. {Property}. More... | |
| virtual void | SetPageSize (tU32 anSize)=0 |
| Set the resolution of a page. More... | |
| virtual tU32 | GetPageSize () const =0 |
| Get the resolution of a page. {Property}. More... | |
| virtual void | SetPageMipMaps (tU32 anNumMipMaps)=0 |
| Set the number of mipmaps of a page. {Property}. More... | |
| virtual tU32 | GetPageMipMaps () const =0 |
| Get the number of mipmaps of a page. {Property}. More... | |
| virtual void | SetComputeMipMapsPerPage (tBool abComputeMipMapsPerPage)=0 |
| Set whether the mipmaps are computed for the whole page after an image has been added. That is regardless of whether the image added had mipmap itself. More... | |
| virtual tBool | GetComputeMipMapsPerPage () const =0 |
| Get whether the mipmaps are computed for the whole page after an image has been added. {Property}. More... | |
| virtual void | SetPageFormat (iHString *ahspFormat)=0 |
| Set the page format. {Property}. More... | |
| virtual iHString * | GetPageFormat () const =0 |
| Get the page format. {Property}. More... | |
| virtual tU32 | GetNumPages () const =0 |
| Get the number of pages in the image map. {Property}. More... | |
| virtual iTexture * | GetPage (tU32 anIndex) const =0 |
| Get the specified page in the image map. {Property}. More... | |
Map | |
| virtual void | Clear ()=0 |
| Clear the image map. More... | |
| virtual void | SetDefaultImageBlendMode (eBlendMode aMode)=0 |
| Set the default blend mode. {Property}. More... | |
| virtual eBlendMode | GetDefaultImageBlendMode () const =0 |
| Get the default blend mode. {Property}. More... | |
| virtual void | SetDefaultImageFilter (tBool abFiltering)=0 |
| Set the default filtering. {Property}. More... | |
| virtual tBool | GetDefaultImageFilter () const =0 |
| Get the default filtering. {Property}. More... | |
| virtual tU32 | GetNumImages () const =0 |
| Get the number of images. {Property}. More... | |
| virtual iOverlay * | GetImage (tU32 anIndex) const =0 |
| Get the image at the specified index. {Property}. More... | |
| virtual tU32 | GetImageIndex (iOverlay *apImage) const =0 |
| Get the index of the image at the specified index. {Property}. More... | |
| virtual iOverlay * | GetImageFromName (iHString *ahspName) const =0 |
| Get the first image with the given name. {Property}. More... | |
| virtual iOverlay * | AddImage (iHString *ahspName, iBitmap2D *apBitmap)=0 |
| Add an image to the image map. More... | |
| virtual iOverlay * | AddImageFromResource (iHString *ahspName, iHString *ahspRes)=0 |
| Add an image to the image map loading from a resource. More... | |
| virtual iOverlay * | AddImageFromIconSet (iHString *ahspName, iHString *ahspFolder, iHString *ahspRes, tU32 anMaxRes, tU32 anMinRes)=0 |
| Add an image to the image map loading from a icon set folder. More... | |
| virtual tBool | RemoveImage (iOverlay *apImage)=0 |
| Remove an image from the image map. More... | |
Serialize | |
| virtual tBool | GetShouldSerialize () const =0 |
| Get whether the image map has been modified since the last serialize read. {Property}. More... | |
| virtual tBool | Serialize (ni::iFile *apFile, tImageMapSerializeFlags aFlags)=0 |
| Serialize the image map to/from the specified file. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
Set the maximum number of pages. {Property}.
|
pure virtual |
Get the maximum number of pages. {Property}.
Set the resolution of a page.
|
pure virtual |
Get the resolution of a page. {Property}.
Set the number of mipmaps of a page. {Property}.
|
pure virtual |
Get the number of mipmaps of a page. {Property}.
Set whether the mipmaps are computed for the whole page after an image has been added. That is regardless of whether the image added had mipmap itself.
|
pure virtual |
Get whether the mipmaps are computed for the whole page after an image has been added. {Property}.
Set the page format. {Property}.
|
pure virtual |
Get the page format. {Property}.
|
pure virtual |
Get the number of pages in the image map. {Property}.
Get the specified page in the image map. {Property}.
|
pure virtual |
Clear the image map.
|
pure virtual |
Set the default blend mode. {Property}.
|
pure virtual |
Get the default blend mode. {Property}.
Set the default filtering. {Property}.
|
pure virtual |
Get the default filtering. {Property}.
|
pure virtual |
Get the number of images. {Property}.
Get the image at the specified index. {Property}.
Get the index of the image at the specified index. {Property}.
Get the first image with the given name. {Property}.
Add an image to the image map.
Add an image to the image map loading from a resource.
| ahspName | is the name of the image, if the name isnt not specified the resource path is used as name. |
| ahspRes | is the path of the resource. |
|
pure virtual |
Add an image to the image map loading from a icon set folder.
| ahspName | is the name of the image, if the name isnt not specified the resource path is used as name. |
| ahspFolder | is the base folder name. |
| ahspRes | is the path of the resource. |
| anMaxRes | is the maximum icon resolution to use. |
| anMinRes | is the minimum icon resolution to use. |
Remove an image from the image map.
|
pure virtual |
Get whether the image map has been modified since the last serialize read. {Property}.
|
pure virtual |
Serialize the image map to/from the specified file.
1.8.7