对角调整大小的鼠标指针 [英] Diagonal resizing mouse pointer

查看:110
本文介绍了对角调整大小的鼠标指针的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找ObjC可用的(隐藏)鼠标形状(请参见 SO问题). Swift NSCursor不提供您发现的用于调整标准窗口大小的那些游标吗?!

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.

推荐答案

OS X不支持您描述的游标. 像这样的游标,您必须自己创建一个图像 使用已经提供的文档来创建带有该游标的游标 图像 WebKit在以下目录中包含与系统使用的光标看起来完全相同的图像:

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/

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

这篇关于对角调整大小的鼠标指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆