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

WindowServer+LibGUI: Change cursor icon if DragEnter event was accepted

This commit is contained in:
Karol Kosek 2022-06-20 11:56:18 +02:00 committed by Sam Atkins
parent e5674d9666
commit 2e244fc85b
6 changed files with 30 additions and 7 deletions

View file

@ -123,6 +123,7 @@ endpoint WindowServer
set_window_custom_cursor(i32 window_id, Gfx::ShareableBitmap cursor) =|
start_drag([UTF8] String text, HashMap<String,ByteBuffer> mime_data, Gfx::ShareableBitmap drag_bitmap) => (bool started)
set_accepts_drag(bool accepts) =|
set_system_theme(String theme_path, [UTF8] String theme_name, bool keep_desktop_background) => (bool success)
get_system_theme() => ([UTF8] String theme_name)