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:
parent
c2148c7dde
commit
273045d40e
2 changed files with 19 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue