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

Home » Public Forums » archive » Re: Expose Events (easy questions)
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: Expose Events (easy questions) [message #30060 is a reply to message #30028] Wed, 03 April 2002 09:49 Go to previous messageGo to previous message
Ted Cary is currently offline  Ted Cary
Messages: 53
Registered: October 2001
Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1714eb51cd25064b989861@news.frii.com...
> Ted Cary (tedcary@yahoo.com) writes:
>

>
> But, that said, the values in IDL 5.4 Windows of the
> X and Y fields of the event structure are the locations
> of the lower-left corner of the window in viewport
> coordinates, which is exactly what I would expect.

That's what I expected too, but at least on my Mac at work the X field does
not appear to have anything to do viewport X-coordinates. It's the
scr_ysize, every time. I spent 3 hours toying with it yesterday, so I'm
pretty sure about it. I'll post the code later.

I was hoping that by using APP_SCROLL and then explicitly redrawing only the
viewable portion of the window that I would speed things up. Drawing a
larger image in an object graphics hierarchy to a scrollable window takes a
long time--noticeably longer than drawing a smaller image. My cursor lags
too much during drag-drawing with the mouse, when the hierarchy is redrawn
with every motion event. The lag is definitely proportional to image size.
The documentation for WIDGET_DRAW maintains that one should always use
APP_SCROLL with large images, and in fact with anything drawn in device
coordinates (I think). I was assuming this was because of the slowness
problem? If not, what's the point?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: testcase
Next Topic: Re: journal file contents

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

Current Time: Fri Oct 10 03:39:26 PDT 2025

Total time taken to generate the page: 0.48029 seconds