1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

WindowServer: Add IPC calls for controlling cursor theme

This commit adds two new IPC calls for WindowServer: apply_cursor_theme
and get_cursor_theme.
This commit is contained in:
Maciej Zygmanowski 2021-08-01 17:23:31 +02:00 committed by Andreas Kling
parent 040a723f1f
commit 0363cd3d55
3 changed files with 17 additions and 0 deletions

View file

@ -139,6 +139,8 @@ private:
virtual Messages::WindowServer::StartDragResponse start_drag(String const&, HashMap<String, ByteBuffer> const&, Gfx::ShareableBitmap const&) override;
virtual Messages::WindowServer::SetSystemThemeResponse set_system_theme(String const&, String const&) override;
virtual Messages::WindowServer::GetSystemThemeResponse get_system_theme() override;
virtual void apply_cursor_theme(String const&) override;
virtual Messages::WindowServer::GetCursorThemeResponse get_cursor_theme() override;
virtual Messages::WindowServer::SetSystemFontsResponse set_system_fonts(String const&, String const&) override;
virtual void set_window_base_size_and_size_increment(i32, Gfx::IntSize const&, Gfx::IntSize const&) override;
virtual void set_window_resize_aspect_ratio(i32, Optional<Gfx::IntSize> const&) override;