mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
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:
parent
4212010ebd
commit
8c38d46c1a
3 changed files with 24 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue