Font interface.
More...
#include <nirtcpp/core/engine/IGUIImageList.hpp>
|
virtual | ~IGUIImageList () |
| Destructor.
|
|
virtual void | draw (s32 index, const core::position2d< s32 > &destPos, const core::rect< s32 > *clip=0)=0 |
|
virtual s32 | getImageCount () const =0 |
|
virtual core::dimension2d< s32 > | getImageSize () const =0 |
|
| IReferenceCounted () |
| Constructor.
|
|
virtual | ~IReferenceCounted () |
| Destructor.
|
|
void | grab () const |
| Grabs the object. Increments the reference counter by one.
|
|
bool | drop () const |
| Drops the object. Decrements the reference counter by one.
|
|
s32 | getReferenceCount () const |
| Get the reference count.
|
|
const c8 * | getDebugName () const |
| Returns the debug name of the object.
|
|
|
void | setDebugName (const c8 *newName) |
| Sets the debug name of the object.
|
|
◆ draw()
virtual void nirt::gui::IGUIImageList::draw |
( |
s32 |
index, |
|
|
const core::position2d< s32 > & |
destPos, |
|
|
const core::rect< s32 > * |
clip = 0 |
|
) |
| |
|
pure virtual |
Draws an image and clips it to the specified rectangle if wanted
- Parameters
-
index | Index of the image |
destPos | Position of the image to draw |
clip | Optional pointer to a rectangle against which the text will be clipped. If the pointer is null, no clipping will be done. |
◆ getImageCount()
virtual s32 nirt::gui::IGUIImageList::getImageCount |
( |
| ) |
const |
|
pure virtual |
Returns the count of Images in the list.
- Returns
- Returns the count of Images in the list.
◆ getImageSize()
Returns the size of the images in the list.
- Returns
- Returns the size of the images in the list.
The documentation for this class was generated from the following file: