| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | BackGround windows... |
Hello Hugo,
hl> time to show the screen. The latter you could offload
hl> to another thread (to be unblocked by a muxwait event
hl> on input or time out and so). But then this quickly
hl> becomes complicated too:-)
Uhm, yeah...
hl> Otherwise you'll have to reinvent something like PM: each window gets a
hl> message when it must recalculate it's visible portion
hl> because a change in the window ordering (or you do it
hl> for them in one sweep: starting with the top window,
This is what I have done. Everytime there is a background window write I
fill in a matrix (representing the screen). Starting from the bottom window
to the top window I write the identifying (byte) number to the matrix. Then
when the window requests a write to the screen (and it's background) it has
to compare every character it wishes to write to the cooresponding location
in the matrix. And if the Id matches then it owns that part of the screen.
This idea came from (damn lost his name), someone else in this echo.
Any updates to the current window need not check the matrix, so this is much faster.
At times I feel like I'm writing a text mode PM .
Paul Rider.
--- Maximus/2 2.02
* Origin: Rodent! Bbs ( Os/2 ) (1:163/427)SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 163/427 335 307 99 12/12 3615/50 396/1 270/101 105/103 42 712/515 @PATH: 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.