1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

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.
This commit is contained in:
Timothy Flynn 2022-09-06 08:25:02 -04:00 committed by Linus Groh
parent 3aaaacdb3a
commit a511dec5ca
2 changed files with 24 additions and 17 deletions

View file

@ -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;
};