summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EmojiInputDialog.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-09-06 10:59:44 -0400
committerLinus Groh <mail@linusgroh.de>2022-09-07 14:34:02 +0100
commiteeb7b153a27e884bbf7f9d218d64a9628a95044d (patch)
tree12681c16b3429b40b9fade4c2ae6f75b99438dfa /Userland/Libraries/LibGUI/EmojiInputDialog.h
parenta88540651168c9b6f7c4ed2d8f7cc23c8dc5e5f9 (diff)
downloadserenity-eeb7b153a27e884bbf7f9d218d64a9628a95044d.zip
LibGUI: Add a search box to filter EmojiInputDialog by code point names
Diffstat (limited to 'Userland/Libraries/LibGUI/EmojiInputDialog.h')
-rw-r--r--Userland/Libraries/LibGUI/EmojiInputDialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/EmojiInputDialog.h b/Userland/Libraries/LibGUI/EmojiInputDialog.h
index acf8981270..5374332325 100644
--- a/Userland/Libraries/LibGUI/EmojiInputDialog.h
+++ b/Userland/Libraries/LibGUI/EmojiInputDialog.h
@@ -15,6 +15,7 @@ class EmojiInputDialog final : public Dialog {
struct Emoji {
u32 code_point { 0 };
+ Optional<String> name;
RefPtr<Button> button;
};
@@ -28,6 +29,7 @@ private:
Vector<Emoji> supported_emoji();
void update_displayed_emoji();
+ RefPtr<TextBox> m_search_box;
RefPtr<Widget> m_emojis_widget;
Vector<Emoji> m_emojis;
String m_selected_emoji_text;