// // NSScreen+NGAAdditions.m // MarkdownPreview // // Created by Michael Bishop on 10/14/11. // Copyright (c) 2011 Numerical Garden LLC. All rights reserved. // #import "NSScreen+NGAAdditions.h" @implementation NSScreen (NGAAdditions) +(NSRect)frameContainingAllScreens { NSRect finalRect; memset(&finalRect, 0, sizeof(finalRect)); for (NSScreen * screen in [self screens]) finalRect = NSUnionRect(finalRect, screen.frame); return finalRect; } @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 20722 | jdputsch | initial branch, prep for -Zapp= support | ||
//guest/michael_bishop/MacMenu/src/NGAUtilities/Source/NSScreen+NGAAdditions.m | |||||
#1 | 8331 | Matt Attaway |
Adding initial version of MacMenu for Perforce MacMenu is a helpful Perforce client that sits in your toolbar. It allows you to run standard Perforce operations on the document that is open the currently active editor/viewer. |