开发者

Determining the size of the current cursor

I a开发者_运维百科m writing a an swt app that has an embeded GLCanvas and I wanted to be able to find out the size of the current cursor, is this possible? And if I cannot get it from JOGL then is it possible from either swt or awt?


If by size you mean pixel dimensions, you can have a look at Toolkit.getBestCursorSize(int,int) to check the supported cursor sizes on the platform.


Getting the cursor size is not generally useful, since much of a cursor may be transparent. I'm also unclear as to why you mention JOGL. The JOGL library doesn't interact with the cursor, as far as I know.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜