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
commit 273045d40e
Notes: sideshowbarker 2024-07-17 07:20:32 +09:00
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: