Re: Still getting trouble with ROI's [message #37904 is a reply to message #37902] |
Mon, 02 February 2004 08:40   |
Nuno Oliveira
Messages: 75 Registered: October 2003
|
Member |
|
|
My purpose is not to decompose. I could decompose outside cw_defroi (and
then my problem is I can not distinguish between (127,2) from (12,72) when I
have xy=1272). I was looking for the place where cw_defroi 'composes' xy
and, avoiding composition, making it two separate variables or one variable
with two dimensions.
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1a8825d1b36013cf9897cb@news.frii.com...
> Actually, this doesn't look too hard to me.
> Just define a couple of keywords to get back
> what you want, then in the "all done" portion
> of the code (near the bottom), fill up your keywords
> before you return the "xy" variable. You will probably
> have to do some checking for the various things "xy"
> can be, but basically you just want to decompose
> that variable, I think.
>
> "Own event loop" means the program is not using XManager
> to check for events. This program is what you might call
> a "hypermodal" widget. You ain't doin' nothin' until this
> program is finished!
>
> Cheers,
>
> David
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|