ManaPlus
|
#include <avatarlistmodel.h>
Public Member Functions | |
AvatarListModel () | |
virtual Avatar * | getAvatarAt (const int i)=0 |
std::string | getElementAt (int i) |
Public Member Functions inherited from ListModel | |
ListModel () | |
virtual | ~ListModel () |
virtual int | getNumberOfElements ()=0 |
Definition at line 30 of file avatarlistmodel.h.
|
inline |
Definition at line 33 of file avatarlistmodel.h.
|
pure virtual |
Implemented in BeingsListModel, Party, and Guild.
Referenced by AvatarListBox::draw(), getElementAt(), AvatarListBox::mousePressed(), and AvatarListBox::safeDraw().
|
inlinevirtual |
Gets an element at a certain index in the list.
i | An index in the list. |
Implements ListModel.
Definition at line 41 of file avatarlistmodel.h.
References getAvatarAt(), and Avatar::getName().