comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: the "real" screen size
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: the "real" screen size [message #73036 is a reply to message #73034] Mon, 25 October 2010 01:56 Go to previous messageGo to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
On 25/10/10 00:02, wlandsman wrote:
>
> I often like to view images as big as possible on my monitor. So
> I get the screen size using device,get_screen_size=winsize, and open a
> window of this size using WINDOW, XSIZE=, YSIZE=. I then CONGRID()
> my (bigger) image down to this size and display it with TV.

At least on my linux box, if you do that, you can then examine the
size fields in the !D system variable to get the true size of your
window, which you can assume to be the maximum possible size and use
accordingly in your subsequent drawing operations.

Fudge factors are not a good idea, since it is up to the window
manager and the user's preferences how much screen real estate is
consumed by toolbars, window title bars, and other decorations.


chl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Procedures with variable/dynamic argument list??
Next Topic: Re: Fragile IDL 8 Object Programs

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:28:07 PDT 2025

Total time taken to generate the page: 0.00417 seconds