diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-05 14:32:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-05 18:09:04 +0200 |
commit | 9b740f218b103a5f3497a666b2655865266c8ff1 (patch) | |
tree | 6f94769e391237b36a57868c553458c21298fe62 /Userland/Services/WindowServer/Menu.h | |
parent | 03157418159c75c03d0bf94108e9f6d9053835bf (diff) | |
download | serenity-9b740f218b103a5f3497a666b2655865266c8ff1.zip |
WindowServer+LibGUI: Notify clients when menus become visible/hidden
This will allow clients to react to these events.
Diffstat (limited to 'Userland/Services/WindowServer/Menu.h')
-rw-r--r-- | Userland/Services/WindowServer/Menu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/Menu.h b/Userland/Services/WindowServer/Menu.h index 9ef4cc34ae..c438cf270c 100644 --- a/Userland/Services/WindowServer/Menu.h +++ b/Userland/Services/WindowServer/Menu.h @@ -111,6 +111,8 @@ public: void close(); + void set_visible(bool); + void popup(const Gfx::IntPoint&); void do_popup(const Gfx::IntPoint&, bool make_input, bool as_submenu = false); |