Home »
Public Forums »
archive »
Re: VIEWPORT_EVENTS
Re: VIEWPORT_EVENTS [message #7217] |
Thu, 17 October 1996 00:00 |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Lionel Dorffner wrote:
>
> Hello !
>
> I'm just writing a widget application and have some problems with
> WIDGET_DRAW.
>
> 1) What for can I use the VIEWPORT_EVENTS keyword ?
Try IDL> ?
> 2) I want to set the XSIZE ans YSIZE depending on the size of the used
> monitor (1208x1024 or 1024x768). Are there any system variables
> available to obtain this values ?
DEVICE, get_screen_size = s_size
; s_size(0) = horiz. size
; s_size(1) = vert. size
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2200
La Jolla, CA 92037
[ UCSD Mail Code 0949 ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|
Current Time: Wed Oct 08 15:57:47 PDT 2025
Total time taken to generate the page: 0.00545 seconds