mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 07:49:05 +00:00
WindowServer: Add menu item fade-out animation upon activation
This commit is contained in:
parent
7e9c265cc0
commit
b8f462a78b
Notes:
sideshowbarker
2024-07-18 20:59:32 +09:00
Author: https://github.com/tomuta
Commit: b8f462a78b
Pull-request: https://github.com/SerenityOS/serenity/pull/5988
Reviewed-by: https://github.com/awesomekling
2 changed files with 52 additions and 0 deletions
|
@ -135,6 +135,8 @@ private:
|
|||
void did_activate(MenuItem&, bool leave_menu_open);
|
||||
void update_for_new_hovered_item(bool make_input = false);
|
||||
|
||||
void start_activation_animation(MenuItem&);
|
||||
|
||||
ClientConnection* m_client { nullptr };
|
||||
int m_menu_id { 0 };
|
||||
String m_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue