summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelemojicomplete.h
diff options
context:
space:
mode:
authorAlexander Gavriliuk <alexandrgproductengine@lindenlab.com>2023-10-05 11:28:54 +0200
committerGuru <alexandrgproductengine@lindenlab.com>2023-10-05 12:24:20 +0200
commit98214577c36d9c8dd0e13c7b678a399b35450bd3 (patch)
treeab40df03d066327daa36ba5a0fcd18065eca541f /indra/newview/llpanelemojicomplete.h
parent9f8763cae1ccb3577a2cd148ffc5cee564a2df65 (diff)
SL-20390 Emoji Completion floater - ignore symbols in shortcodes when searching by pattern
Diffstat (limited to 'indra/newview/llpanelemojicomplete.h')
-rw-r--r--indra/newview/llpanelemojicomplete.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelemojicomplete.h b/indra/newview/llpanelemojicomplete.h
index 1af923bda2..36a965202e 100644
--- a/indra/newview/llpanelemojicomplete.h
+++ b/indra/newview/llpanelemojicomplete.h
@@ -26,6 +26,7 @@
#pragma once
+#include "llemojidictionary.h"
#include "llfloater.h"
#include "lluictrl.h"
@@ -68,7 +69,6 @@ public:
void reshape(S32 width, S32 height, BOOL called_from_parent) override;
public:
- const LLWString& getEmojis() const { return mEmojis; }
size_t getEmojiCount() const { return mEmojis.size(); }
void setEmojis(const LLWString& emojis);
void setEmojiHint(const std::string& hint);
@@ -95,7 +95,7 @@ protected:
const LLFontGL* mIconFont;
const LLFontGL* mTextFont;
- LLWString mEmojis;
+ std::vector<LLEmojiSearchResult> mEmojis;
LLScrollbar* mScrollbar;
LLRect mRenderRect;
U16 mEmojiWidth = 0;