mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 14:42:50 +02:00
LibGUI: Add a search box to filter EmojiInputDialog by code point names
This commit is contained in:
committed by
Linus Groh
parent
a885406511
commit
eeb7b153a2
@@ -15,6 +15,7 @@ class EmojiInputDialog final : public Dialog {
|
||||
|
||||
struct Emoji {
|
||||
u32 code_point { 0 };
|
||||
Optional<String> name;
|
||||
RefPtr<Button> button;
|
||||
};
|
||||
|
||||
@@ -28,6 +29,7 @@ private:
|
||||
Vector<Emoji> supported_emoji();
|
||||
void update_displayed_emoji();
|
||||
|
||||
RefPtr<TextBox> m_search_box;
|
||||
RefPtr<Widget> m_emojis_widget;
|
||||
Vector<Emoji> m_emojis;
|
||||
String m_selected_emoji_text;
|
||||
|
||||
Reference in New Issue
Block a user