Tools
Download Search CocoaTraces for Mac OS X 10.4 for easily searching in Cocoa Traces from any application supporting system services!
Site Statistics
34897 Total Views
41 Traces
41 Fragments
47 Comments
54 Tags
41 Traces
41 Fragments
47 Comments
54 Tags
Tags
audio badge category class crash dock fade file finder font gradient hack help icon indicator kqueue LoginItems menu metadata NSButton NSCell NSControl NSDictionary NSDirectoryEnumerator NSDocument NSMenu NSPopUpButton NSProgressIndicator NSScrollView NSSound NSSpeechChannel NSString NSTableColumn NSTableView NSTabView NSToolbar NSURLConnection NSURLRequest NSView NSWindow preferences readme record report SerialPort shell speech support TabBar timer tooltip wrapper xml zoom
Flip a window just like in Dashboard
Tags: NSWindowRelated Traces
- Easily create preferences windows (11 months)
- An NSWindow subclass for easy attaching of views to other windows (6 months)
- Fade a window in and out (11 months)
- Make a custom window frame (11 months)
- Easy zooming for windows (11 months)
Add a new comment or fragment
Fields marked with * are mandatory.
A silly little sample app that replicates Dashboard's "flip over a window to see its back side" effect. I'm doing all of this manually (NSAffineTransform seems to only let you rotate and scale stuff), so it isn't blazingly fast, but maybe it's of use to someone.
For what it's worth the actual code is in a category on NSWindow, so you should be able to copy this and use it fairly painlessly in your own apps. Just remember to credit me and I'll let you have it for free.
Contains a built executable so you can try it out right away without having to compile the sources.