diff options
Diffstat (limited to 'WindowServer/WSMenu.h')
-rw-r--r-- | WindowServer/WSMenu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WindowServer/WSMenu.h b/WindowServer/WSMenu.h index dc7adb4592..bc42eba5d3 100644 --- a/WindowServer/WSMenu.h +++ b/WindowServer/WSMenu.h @@ -57,6 +57,9 @@ public: WSMenuItem* item_at(const Point&); void redraw(); + const WSMenuItem* hovered_item() const { return m_hovered_item; } + void clear_hovered_item(); + Function<void(WSMenuItem&)> on_item_activation; private: |