I'm wondering what kind of shenanigan framework or UI kit Apple used for the black QuickTime X windows.
Looking at the available options in Interface Builder, nothing seems to match.
Quicktime X
IB options
It's kinda like a HUD (gradient top bar, dark) but it's darker than a HUD and has all the standard 3 buttons. It doens't look like a Textured Window either.
Can anyone shed some light on it? How could I create a Window like QuickTime X ?
(And also the controls within the window)
It's Apple. They know how to do fancy stuff.
Go to Applications, find QuickTime Player.app, open context menu, choose "Show package contents" (or what it's called in English), Go to Contents / Resources and have a look at the images, especially titlebar-corner.png, titlebar-middle.png, … and close-active-color.png, …
Related
Does anybody know, how to change the appearance of the title bar and/or toolbar of a simple & small one-window cocoa macOS application without accessing the Xcode or installing third party applications? It's for a screen recording video project, I want to do.
I know, that there are possibilities within the applications info.plist (for example changing the app title inside the top macOS Menu Bar) but I would like to be able to change the apps window title itself and/or colors and/or fonts inside the window title bar or toolbar if possible.
Opening the app in another container window or via terminal or Applescript and adding custom parameters or even an overlay in the right position to change the styling would be okay if this is possible?
Can somebody point me in the right direction?
Thank you very much!
in short: Nibs
Nib File Viewer works until Xcode 10
saving, recompiling if possible
good luck
What is the difference between a GTK theme and a window decoration theme? I am using Compiz and Unity and I do not understand the difference between these two theme types.
Window decorations are handled by the window manager and typically include the window title bar, window title bar buttons and window borders -- and those are the only things a window manager theme can change.
A GTK+ theme on the other hand can change how things look inside the window of a GTK+ application: buttons, entries, labels and all other widgets get their visual style from the GTK theme.
This separation may sound arbitrary and useless... and in a way it is. It only exists because of the way X works: the X server draws the decorations for all windows and clients only draw the window contents. This may be simpler or at least different in the glorious future when X is replaced by Wayland (or Mir if that's the way you lean).
I developed some app for iPhone/iPad, so I know the basic concepts of Cocoa programming. Now I need to write a Mac OS X application. If you help me to choose the right controls to use, I'll study the Apple documentation reference for them.
I need:
a control to show a grid of thumbnails (png images); I'll be able to change the order of the thumbnails by dragging and dropping them;
a control to show a single image (e.g. UIImageView of Cocoa Touch) with the possibility to drag and drop another image over the first one; besides I need to move and resize the second image by dragging its corners (as if corners were "anchors");
a control to browse the media files on the Mac (possibly iPhoto images, iTunes DRM-free songs, or simply the content of a given folder), like the media browser of iMovie.
I use Xcode 4.2.
You can use NSCollectionView and co. for this. Xcode has a sample application somewhere in documentation (browsing various images) as well as tutorial on how to setup NSCollectionView yourself.
Check NSImageView. You can basically find any Cocoa control alternative to Cocoa Touch just by changing UI prefix to NS.
There is no such control per-se (unless IKImageBrowser for backgrounds), but using aforementioned NSCollectionView and some API for media files you should get around pretty quickly.
Also check ImageKit framework for images (for browsing, viewing and modifying).
How could I make an NSWindow's title bar look like that of the Mac App Store or of the app Feeder where it's height is increased and other controls are show in it.
To see what I mean just check out the website for the Mac App Store : http://www.apple.com/mac/app-store/.
Is it a custom NSWindow or is it a completely borderless window with an NSView made to look like the title bar?
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...
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.
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,
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.