1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:07:36 +00:00

WindowServer: Move window minimize animation to a separate function

Move this from WSCompositor::compose() to a separate run_animations()
function to keep compose() readable. We might want to add some more
animations later.
This commit is contained in:
Andreas Kling 2019-12-05 17:44:10 +01:00
parent aa8b40dce6
commit e1862fe2f5
2 changed files with 41 additions and 35 deletions

View file

@ -43,6 +43,7 @@ private:
void draw_cursor();
void draw_geometry_label();
void draw_menubar();
void run_animations();
unsigned m_compose_count { 0 };
unsigned m_flush_count { 0 };