Community
SCI Programming => SCI Syntax Help => Topic started by: Doan Sephim on April 21, 2007, 01:02:49 PM
-
I remember reading about why cursors flicker when they are over certain views, but I cannot locate where it was discussed, so I will ask here:
Why does it happen, and is there an easy way to make it not happen. It's not a huge thing, so I would avoid major surgery, but if it just takes a little, then hey, why not put it to an end?
So, why does it happen, and what's the easiest way to address the problem?
-
Depends on what sort of view it is. For one thing, is it a view that must animate at the time in question? For another, what class are you using for the view in question?
If the former is not the case, you can use the stopUpd and startUpd methods. You can also make them "dropped views" as we call them in the FreeSCI team (Sierra called them addToPics, but that's an unwieldy term IMO) by calling addToPic on the view. If you're also having performance or memory problems, using this could be a solution; it removes the controlling instance entirely. However, this is not reversible, and also requires you to set up the View object dynamically rather than using an instance.
-
I'm primarilly dealing with Views used as Actors. That is, I have a series of views which are moved when clicked on. So all the views need to be able to move about.
-
I asked that question so it is probably in one of my rambling threads about three different topics.