diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-02-22 20:51:26 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-24 19:48:47 +0100 |
commit | 8c38d46c1ae4b2fddbef3e89802c43474126d9dd (patch) | |
tree | 19dd34a08a753d84e45c6ec571174ba489615a2e /Userland/Libraries | |
parent | 4212010ebd5a216a10794761ff48674c01faee85 (diff) | |
download | serenity-8c38d46c1ae4b2fddbef3e89802c43474126d9dd.zip |
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.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibUnicode/Emoji.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibUnicode/Emoji.h b/Userland/Libraries/LibUnicode/Emoji.h index b36655d28a..dcb137ba0a 100644 --- a/Userland/Libraries/LibUnicode/Emoji.h +++ b/Userland/Libraries/LibUnicode/Emoji.h @@ -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; |