SMART_REFRESH
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
Okay, here's the problem. I'm drawing a graphic image in a window which can
be moved and resized. I'm using a SMART_REFRESH window, so the only thing I
have to worry about is when the window is sized larger, especially after it
is first shrunk. If this happens I get big patches of background where (part
of) my image used to be. I'm drawing the image using WritePixel(), and I'm
not saving the image in memory or anything, so it's on its own once drawn to
the window. If I understand the manuals correctly (which I doubt), Intuition
will store clipped portions of my image somewhere in RAM. I'd really like to
know how to get these back. I know to use Begin…EndRefresh(), but what do
I do inbetween? Can I use some layer functions here? I hope I don't have to
use SIMPLE_REFRESH or SUPERBITMAP here, though that's what I'm being told.
Yecch-o!! Help me please… /brent