Re: the "real" screen size [message #73025 is a reply to message #73023] |
Mon, 25 October 2010 06:58   |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 10/25/10 7:36 am, David Fanning wrote:
> David Fanning writes:
>
>> Ah, is this what Carsten means:
>>
>> IDL> device, get_screen_size=s
>> IDL> print,s
>> 1280 1024
>> IDL> window, xsize=1280, ysize=1024
>> IDL> print, !d.x_size, !d.y_size
>> 1280 1024
>>
>> If so, then you only need fudge factors for Windows. ;-)
>
> Ah, yes. I just fired up my Linux machine. These size
> variables do contain the real window size. Now, if we
> just could find a cross-platform solution we would be
> golden!
IDL> print, !version
{ x86_64 darwin unix Mac OS X 8.0 Jun 17 2010 64 64}
IDL> device, get_screen_size=s
IDL> print, s
1440 878
IDL> print, !d.x_size, !d.y_size
720 439
Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
|
|
|