mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 15:05:08 +00:00
LibGUI: Give GTextEditor a context menu.
Now GTextEditor manages its own editing actions (cut/copy/paste/etc) and will show a context menu containing them when requested. Apps that want to put a GTextEditor's actions in its menu can get to the actions via public getters. :^)
This commit is contained in:
parent
67d7fc94fc
commit
ae3ec3fc37
6 changed files with 83 additions and 45 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <LibGUI/GMenu.h>
|
||||
#include <AK/Badge.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/Vector.h>
|
||||
|
||||
class GApplication;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue