discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen size


From: Jeremy Tregunna
Subject: Re: Screen size
Date: Sat, 29 Jan 2005 05:10:21 -0500


On 29-Jan-05, at 3:29 AM, Honor Harrington wrote:

How can I get the screen size ( the whole screen ) ?

Take a look at "NSScreen". Specifically something like:

NSScreen *scr = [NSScreen mainScreen];
NSLog(@"Main Screen dimentions: %g x %g", [scr frame].size.width, [scr frame].size.height);

--
Jeremy Tregunna
jtregunna@blurgle.ca




reply via email to

[Prev in Thread] Current Thread [Next in Thread]