在哪里可以找到 Apple 的标准源列表/侧边栏图标?

发布于 2024-09-18 03:44:57 字数 435 浏览 6 评论 0 原文

我正在为 OS X 编写一个应用程序(使用 REALbasic,而不是 Objective-C)。我已经实现了 源列表(即iTunes中的侧边栏)在此应用程序中。

在我的系统上,我可以在哪里找到侧边栏上使用的“标准”图标,即:插入 iPod 时在 iTunes 中看到的“弹出”和“电池”图标之类的图标。我已经检查了 iTunes 包装内容,并发现找到了几个(诸如音乐和电视节目图标之类的东西),但仅此而已。

谢谢,

I'm writing an app for OS X (in REALbasic, not Objective-C). I have implemented a source list (i.e. the sidebar in iTunes) in this app.

Where on my system can I find the "standard" icons used on a sidebar, i.e: things like the "eject" and "battery" icon seen in iTunes when your iPod is plugged in. I've checked the iTunes package contents and have found a couple (stuff like the Music and TV shows icons) but that is all.

Thanks,

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白昼 2024-09-25 03:44:57

标准图标是在图标服务中定义的图标和NSImage。没有专门用于侧边栏的图标,并且您列出的两个示例不属于标准图标。 (图标服务中有一个kEjectMediaIcon,但它是 Dock 使用的那个,而不是您在 Finder 和 iTunes 中看到的那个。)

iTunes 可能会也可能不会为此使用图像,但 Eject符号可用作标准 Unicode 字符:⏏。 (如果你不喜欢它的外观,可以用不同的字体查看。Apple Symbols 和 Lucida Grande 都有很好的版本。)

至于电池图标:如果你打开 Linotype FontExplorer,你可以看到 Apple Symbols 有一个它的字形(waaaay 位于字体字符列表底部附近),但它只能作为字形变体访问。即使绘制了字形,您仍然需要用电池电量填充它,所以您最好自己绘制整个图形。

The standard icons are those defined in Icon Services and NSImage. There are none specifically for sidebars, and the two examples you list are not among the standard icons. (There is a kEjectMediaIcon in Icon Services, but it's the one the Dock uses, not the one you see in Finder and iTunes.)

iTunes may or may not be using an image for this, but the Eject symbol is available as a standard Unicode character: ⏏. (If you don't like how that looks, view it in a different font. Apple Symbols and Lucida Grande both have good versions.)

As for the battery icon: If you open up Linotype FontExplorer, you can see that Apple Symbols has a glyph for it (waaaay down near the bottom of the font's Characters list), but it's only accessible as a glyph variant. Even once you draw the glyph, you'll still need to fill it in with the battery level, so you might as well draw the whole thing yourself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文