summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EmojiInputDialog.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-09-06 08:25:02 -0400
committerLinus Groh <mail@linusgroh.de>2022-09-07 14:34:02 +0100
commita511dec5ca1d54f46d7893670c8ae70467dd89a4 (patch)
tree97fe7712aeeb016885ef5b441c184f8df18d76bf /Userland/Libraries/LibGUI/EmojiInputDialog.h
parent3aaaacdb3ac38d64c879791ffe084486c5e5e3af (diff)
downloadserenity-a511dec5ca1d54f46d7893670c8ae70467dd89a4.zip
LibGUI: Move code to display emoji buttons to a helper function
For a search box to be added, this code will need to be re-invoked as the search query updates.
Diffstat (limited to 'Userland/Libraries/LibGUI/EmojiInputDialog.h')
-rw-r--r--Userland/Libraries/LibGUI/EmojiInputDialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/EmojiInputDialog.h b/Userland/Libraries/LibGUI/EmojiInputDialog.h
index e291887ecd..214d774db8 100644
--- a/Userland/Libraries/LibGUI/EmojiInputDialog.h
+++ b/Userland/Libraries/LibGUI/EmojiInputDialog.h
@@ -20,6 +20,10 @@ private:
virtual void event(Core::Event&) override;
explicit EmojiInputDialog(Window* parent_window);
+ void update_displayed_emoji();
+
+ RefPtr<Widget> m_emojis_widget;
+ Vector<u32> m_code_points;
String m_selected_emoji_text;
};