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

LibGUI+WindowServer: Allow applications to set custom cursor bitmaps

This will allow e.g PaintBrush to use custom cursors for each tool.
This commit is contained in:
Shannon Booth 2020-05-16 13:04:09 +12:00 committed by Andreas Kling
parent 8c1b01e79b
commit df43e09433
5 changed files with 36 additions and 2 deletions

View file

@ -73,7 +73,7 @@ endpoint WindowServer = 2
DismissMenu(i32 menu_id) => ()
AsyncSetWallpaper(String path) =|
SetBackgroundColor(String background_color) => ()
SetWallpaperMode(String mode) => ()
@ -82,6 +82,7 @@ endpoint WindowServer = 2
GetWallpaper() => (String path)
SetWindowOverrideCursor(i32 window_id, i32 cursor_type) => ()
SetWindowCustomOverrideCursor(i32 window_id, Gfx::ShareableBitmap cursor) => ()
StartDrag(String text, String data_type, String data, i32 bitmap_id, Gfx::Size bitmap_size) => (bool started)