Re: Jiri's Widgets

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jiri Babor wrote:

> I do not redraw windows, I just save the
> rectangular image and re-display that at
> the new location.

Most windowing systems don't store the graphics in the window. Instead, they
report to the window when a portion of the window has been 'damaged'
(overlapped, off-screen, etc.) and the window's code is supposed to take
care of it. I think the Macintosh is an exception to this rule; it keeps a
buffer (grafPort) for each window.

Personally, I'm going to try double-buffering with my DOS window manager.
When I draw into the window, I'll keep track of the window areas that were
'damaged', and only copy those portions to the screen when the drawing is
finished.

> No second chances, mate, as my Australian
> cousins would say. Isn't that the American way
> now too?

In my family, the expression is "you snooze, you lose". But that only
applies in cards and scarfing down dessert.

> Thanks, David. Last night I almost finished a
> rewrite, but then, unwisely, got bogged down
> in file selector redesign, and that might take a
> session or two.

The windows look very nice, and have a look and feel all their own. Very
slick.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu