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
commit a511dec5ca
Notes: sideshowbarker 2024-07-17 18:13:59 +09:00
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;
};