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 
Switch to threaded view of this topic Create a new topic Submit Reply
RE: Widget version of BOX_CURSOR [message #3217] Fri, 02 December 1994 20:57
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
RE: Widget version of BOX_CURSOR [message #3227 is a reply to message #3217] Fri, 02 December 1994 09:43 Go to previous message
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
|Kelly Dean:
| I was wondering if anyone has a Widget version of BOX_CURSOR. BOX_CURSOR
| uses CURSOR, which wipes out the image in WIDGET_DRAW. Before I start
| working on a CW_BOXCUR, I just thought I check to see if anyone has done it
| already.

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...

mallozzi@ssl.msfc.nasa.gov
Re: Widget version of BOX_CURSOR [message #3234 is a reply to message #3227] Thu, 01 December 1994 06:00 Go to previous message
nicholas is currently offline  nicholas
Messages: 22
Registered: January 1994
Junior Member
I too would be interested in a widget version of BOX_CURSOR.

----------------------------------
Andrew Nicholas
CPI onsite at Naval Research Lab
Code : 7640
(202) 767-9452 voice
(202) 404-8090 fax
nicholas@uap.nrl.navy.mil
-----------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Explanation received. (re prev. post)
Next Topic: Q: IDL matrix inversions ???

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

Current Time: Wed Oct 08 14:32:45 PDT 2025

Total time taken to generate the page: 0.00630 seconds