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

Home » Public Forums » archive » RE: Widget version of BOX_CURSOR
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: Widget version of BOX_CURSOR [message #3217] Fri, 02 December 1994 20:57 Go to previous message
dean is currently offline  dean
Messages: 55
Registered: March 1993
Member
> mallozzi@ssl.msfc.nasa.gov:
> I just tried BOX_CURSOR on a draw widget and it seems to work OK (IDL 3.6
> on a DEC Alpha). You have to do a
> c = CONVERT_COORD(x, y, /DEVICE, /TO_DATA)
> if you want the x, y, returned by BOX_CURSOR to be in data coord.
> I also use CURSOR in a widget-driven program and it seems to work fine,
> even though the IDL manual says one shouldn't use CURSOR for draw widgets.
> I would try BOX_CURSOR before working on CW_BOX_CURSOR...

CURSOR and BOX_CURSOR work fine with small displays that are around screen
size or less. I am using it now. However, grap a 3800 x 1500 or larger image
- like from explorer.arc.nasa.gov/pub/Weather/GOES-7 - and see what happens.
You will be unable to scroll around the image, it will not refresh. If you
use event.x event.y from WIDGET_DRAW instead of CURSOR, x, y - scrolling
within WIDGET_DRAW works.

Kelly Dean
CSU/CIRA
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Explanation received. (re prev. post)
Next Topic: Q: IDL matrix inversions ???

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

Current Time: Sat Oct 11 02:08:29 PDT 2025

Total time taken to generate the page: 0.87716 seconds