1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +00:00

LibGUI: Add a simple emoji input dialog activated by Ctrl+Alt+Space :^)

Widgets can now opt in to emoji input via set_accepts_emoji_input().
If the focused widget accepts emoji input, we'll pop up a simple dialog
with all the available emojis as clickable buttons.

You can press escape if you change your mind and don't want an emoji.

This UI layout definitely will not scale as we add more emojis, but it
works for the moment, and we can adapt it as we go. Pretty cool! :^)
This commit is contained in:
Andreas Kling 2020-05-17 21:49:54 +02:00
parent 1b78d9fa1f
commit 4173905198
5 changed files with 173 additions and 0 deletions

View file

@ -21,6 +21,7 @@ set(SOURCES
Dialog.cpp
DisplayLink.cpp
DragOperation.cpp
EmojiInputDialog.cpp
Event.cpp
FilePicker.cpp
FileSystemModel.cpp