Changeset 5046
- Timestamp:
- 11/03/07 21:28:16 (8 months ago)
- Files:
-
- WiredAdditions/trunk/NSWindow-WIAdditions.h (modified) (1 diff)
- WiredAdditions/trunk/NSWindow-WIAdditions.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
WiredAdditions/trunk/NSWindow-WIAdditions.h
r5002 r5046 43 43 - (void)orderOut:(id)sender animate:(BOOL)animate; 44 44 45 - (NSSize)contentSizeForFrameSize:(NSSize)size; 46 - (NSSize)frameSizeForContentSize:(NSSize)size; 47 45 48 @end WiredAdditions/trunk/NSWindow-WIAdditions.m
r5002 r5046 217 217 } 218 218 219 220 221 #pragma mark - 222 223 - (NSSize)contentSizeForFrameSize:(NSSize)size { 224 return [self contentRectForFrameRect:NSMakeRect(0.0, 0.0, size.width, size.height)].size; 225 } 226 227 228 229 - (NSSize)frameSizeForContentSize:(NSSize)size { 230 return [self frameRectForContentRect:NSMakeRect(0.0, 0.0, size.width, size.height)].size; 231 } 232 219 233 @end
