NSWindow Mac App Store like Title Bar

此生再无相见时 提交于 2019-11-28 05:33:17
afriend

https://github.com/indragiek/INAppStoreWindow

Title bar and traffic light customization for NSWindow

INAppStoreWindow is an NSWindow subclass that was originally developed to mimic the appearance of the main window in the Mac App Store application introduced in OS X 10.6.6.

The MAS application has since transitioned away from this design, but INAppStoreWindow is still being actively developed to provide extensive additional customization options for NSWindow title bars...

Regexident

For iTunes (v9.x) Apple used no toolbar, but custom aligned icons and controls in the top bar, to achieve a similar effect. (see link below)

The window looks like a "textured & unified title and toolbar" window to me. (or a slight variant of such)

To reposition the traffic light buttons follow my answer to this question.

However, as Dave DeLong already (similarly) commented: "The UI is terrible. Please don't even think about it."

You can also take a look at http://orestis.gr/blog/2007/09/24/messing-with-windows/ . This uses some undocumented stuff, though, so it won't actually get approved FOR the App Store.

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