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 #3227 is a reply to message #3217] Fri, 02 December 1994 09:43 Go to previous messageGo 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
[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: Wed Oct 15 13:47:56 PDT 2025

Total time taken to generate the page: 1.20072 seconds