Diagonal resizing mouse pointer [closed]

天涯浪子 提交于 2019-12-11 18:37:11

问题


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:


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/



来源:https://stackoverflow.com/questions/49297201/diagonal-resizing-mouse-pointer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!