aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMUILocalizerAndLayoutTweaker.h
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-03-17 13:35:22 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-03-17 13:35:22 +0000
commitfb90ee6c273905ea96d551631b6ef9adbd4aefd6 (patch)
tree621c3d661aef165d8b57cc46e796451c472cce03 /AppKit/GTMUILocalizerAndLayoutTweaker.h
parent613318eefe7b5d2b00773aabf863c9452c711736 (diff)
[Author: thomasvl]
Use the transforms needed to deal with Resolution Independence when sizing the window. R=avi,dmaclach DELTA=4 (3 added, 0 deleted, 1 changed)
Diffstat (limited to 'AppKit/GTMUILocalizerAndLayoutTweaker.h')
-rw-r--r--AppKit/GTMUILocalizerAndLayoutTweaker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AppKit/GTMUILocalizerAndLayoutTweaker.h b/AppKit/GTMUILocalizerAndLayoutTweaker.h
index 4a9b666..d5b2a40 100644
--- a/AppKit/GTMUILocalizerAndLayoutTweaker.h
+++ b/AppKit/GTMUILocalizerAndLayoutTweaker.h
@@ -79,6 +79,8 @@
// +sizeToFitFixedWidthTextField. The origin is not adjusted. For windows,
// passes |NO| to for -setFrame:display:'s |displayViews| flag on the
// assumptions the caller is doing all the invals/updates needed.
+// NOTE: For windows, |delta| is assumed to be in content coordinates, and
+// Resolution Independence transforms on the window's frame are done.
+ (void)resizeWindowWithoutAutoResizingSubViews:(NSWindow*)window
delta:(NSSize)delta;
+ (void)resizeViewWithoutAutoResizingSubViews:(NSView*)view