开发者

Is it possible to display a custom cursor or cursor badge in cocoa?

开发者 https://www.devze.com 2023-02-06 04:19 出处:网络
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSCursor_Class/Reference/Reference.ht开发者_运维百科ml

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSCursor_Class/Reference/Reference.ht开发者_运维百科ml

This shows the available cursors, that are build into Cocoa, its it possible to append a custom png to the cursor using built-in methods?


How about -[NSCursor initWithImage:hotSpot:] followed by -[NSCursor set]?

0

精彩评论

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