1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

LibGUI: Display emoji in the EmojiInputDialog in Unicode display order

This commit is contained in:
Timothy Flynn 2022-09-07 13:42:15 -04:00 committed by Linus Groh
parent c2148c7dde
commit 273045d40e
2 changed files with 19 additions and 7 deletions

View file

@ -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: