在主窗口上更改Alpha-可可 [英] Change Alpha on Main Window - Cocoa
本文介绍了在主窗口上更改Alpha-可可的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道在打开应用程序和关闭应用程序时是否可以缓慢增加Alpha MainWindow。我知道它可能涉及计时器,以及类似的事情,但是我以前从未处理过这种事情。我需要您的帮助......
I want to know if I can slowly increase the alpha MainWindow when I open the app and when I close the app. I know it may involve timers, and things like that, but I never dealt with this kind of thing before. I need your help guys...!
Kevin
推荐答案
使用NSViewAnimation。尽管有名称,它在Windows以及视图上均可使用。
Use NSViewAnimation. Despite the name, it works on windows as well as views.
这篇关于在主窗口上更改Alpha-可可的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文