summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx-objc.mm
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2010-03-18 16:28:54 +0200
committerIgor Borovkov <iborovkov@productengine.com>2010-03-18 16:28:54 +0200
commit9229f09928a6604e7e1646be582e8322fdcca4e9 (patch)
tree093993045436b6af602f0b31d38d243e9c48f66e /indra/llwindow/llwindowmacosx-objc.mm
parent870dcca7871a1903d688c3f6a8f2b30d7cf62b7e (diff)
Backed out changeset a95c1f4dcf02 EXT-4820([NUX] Viewer dimensions on first-run)
by which "implemented LLWindowMacOSX::maximize() method" --HG-- branch : product-engine
Diffstat (limited to 'indra/llwindow/llwindowmacosx-objc.mm')
-rw-r--r--indra/llwindow/llwindowmacosx-objc.mm10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm
index 5cab2619fd..6eca24ec1d 100644
--- a/indra/llwindow/llwindowmacosx-objc.mm
+++ b/indra/llwindow/llwindowmacosx-objc.mm
@@ -125,13 +125,3 @@ void getScreenSize(int* width, int* height)
[pool release];
}
-void getVisibleScreen(int *x, int *y, int* width, int* height)
-{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- NSRect visible_rect = [[NSScreen mainScreen] visibleFrame];
- if (width) *width = (int)(visible_rect.size.width);
- if (height) *height = (int)(visible_rect.size.height);
- if (x) *x = (int)(visible_rect.origin.x);
- if (y) *y = (int)(visible_rect.origin.y);
- [pool release];
-}