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

Ladybird/AppKit: Implement cursor images for row-resize and col-resize

This commit is contained in:
Timothy Flynn 2023-12-02 11:03:13 -05:00 committed by Andreas Kling
parent 582f19ba24
commit b10934af27

View file

@ -331,12 +331,10 @@ static void copy_data_to_clipboard(StringView data, NSPasteboardType pasteboard_
[[NSCursor arrowCursor] set];
break;
case Gfx::StandardCursor::ResizeColumn:
// FIXME: AppKit does not have a corresponding cursor, so we should make one.
[[NSCursor arrowCursor] set];
[[NSCursor resizeLeftRightCursor] set];
break;
case Gfx::StandardCursor::ResizeRow:
// FIXME: AppKit does not have a corresponding cursor, so we should make one.
[[NSCursor arrowCursor] set];
[[NSCursor resizeUpDownCursor] set];
break;
case Gfx::StandardCursor::Hand:
[[NSCursor pointingHandCursor] set];