Diagonal resizing mouse pointer [closed]

2019-08-23 09:31发布

I am looking for the (hidden) mouse shapes which had been available with ObjC (see SO question). The Swift NSCursor offers none of those cursors you find for resizing standard windows?!

For now I'm just looking for the diagonal resizing mouse shapes. If the others were available it would be nice to know too.

1条回答
不美不萌又怎样
2楼-- · 2019-08-23 10:14

The cursor you describe is not supported by OS X. If you want a cursor like that, you'll have to create an image of it yourself and use the documentation already provided to create a cursor with that image WebKit contains images that look exactly the same as the cursors used by the system, in the following directory:

/System/Library/Frameworks/WebKit.framework/Versions/Current/Frameworks/WebCore.framework/Resources/

northEastSouthWestResizeCursor.png northWestSouthEastResizeCursor.png

查看更多
登录 后发表回答