24#define SHORTCUT_EMOTES 12
76 {
mEmotes[index] = emoteId + 1; }
The class which keeps track of the emote shortcuts.
int mEmotes[SHORTCUT_EMOTES]
The emote stored.
int getEmoteCount() const
Returns the amount of shortcut Emotes.
void useEmote(int index)
Try to use the Emote specified by the index.
void setEmoteSelected(int emoteId)
Set the Emote that is selected.
void load()
Load the configuration information.
bool isEmoteSelected() const
A flag to check if the Emote is selected.
void removeEmote(int index)
Remove a Emote from the shortcut.
int getEmoteSelected() const
Returns the emote ID that is currently selected.
int getEmote(int index) const
Returns the shortcut Emote ID specified by the index.
void setEmote(int index)
Adds the selected emote ID to the emotes specified by the index.
void save()
Save the configuration information.
int mEmoteSelected
The emote held by cursor.
void setEmotes(int index, int emoteId)
Adds a emoticon to the emotes store specified by the index.
EmoteShortcut * emoteShortcut