LibUnicode: Generate the path to emoji images alongside emoji data

This will provide for quicker emoji lookups, rather than having to
discover and allocate these paths at runtime before we find out if they
even exist.
This commit is contained in:
Timothy Flynn 2023-02-22 20:51:26 -05:00 committed by Linus Groh
commit 8c38d46c1a
Notes: sideshowbarker 2024-07-17 01:46:00 +09:00
3 changed files with 24 additions and 12 deletions

View file

@ -32,6 +32,7 @@ enum class EmojiGroup : u8 {
struct Emoji {
StringView name;
Optional<StringView> image_path;
EmojiGroup group { EmojiGroup::Unknown };
u32 display_order { 0 };
ReadonlySpan<u32> code_points;