summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EmojiInputDialog.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-09-07 13:42:15 -0400
committerLinus Groh <mail@linusgroh.de>2022-09-08 23:12:31 +0100
commit273045d40e7145304c4f0aa2f808d4c1be0c6d8b (patch)
treedbcd6fd85708173d1dffaa1914513b74b2cfe070 /Userland/Libraries/LibGUI/EmojiInputDialog.h
parentc2148c7ddef5e5e9200fdebee89bafe6b311c28b (diff)
downloadserenity-273045d40e7145304c4f0aa2f808d4c1be0c6d8b.zip
LibGUI: Display emoji in the EmojiInputDialog in Unicode display order
Diffstat (limited to 'Userland/Libraries/LibGUI/EmojiInputDialog.h')
-rw-r--r--Userland/Libraries/LibGUI/EmojiInputDialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/EmojiInputDialog.h b/Userland/Libraries/LibGUI/EmojiInputDialog.h
index 5374332325..d26c30cc16 100644
--- a/Userland/Libraries/LibGUI/EmojiInputDialog.h
+++ b/Userland/Libraries/LibGUI/EmojiInputDialog.h
@@ -7,6 +7,7 @@
#pragma once
#include <LibGUI/Dialog.h>
+#include <LibUnicode/Emoji.h>
namespace GUI {
@@ -15,8 +16,8 @@ class EmojiInputDialog final : public Dialog {
struct Emoji {
u32 code_point { 0 };
- Optional<String> name;
RefPtr<Button> button;
+ Optional<Unicode::Emoji> emoji;
};
public: