| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | BackGround windows... |
hi Paul,
PR> I'm porting a tui to the os/2 platform, and figgured while
PR> doing so, I'd make some improvements... Here is what I would like to
PR> add. I would like to add support for writting to a window that is
PR> overlaped by another window (background window)... So far the only
PR> way I can think of doing that is to have a chunk of memory the size
PR> of the window, update it all at every window write request, and then
PR> when writting to the actual screen I'll have to check every other
PR> window shown to see if it overlaps it...
If you follow the order of the windows, starting with the screen background
and ending with the window which has the context, you don't have to
recalculate each windows visibilty. Use a buffer for the entire screen and
show the end result when you're done moving the windows into it: what
should be invisible, will've been overwritten.
regards,
hugo
* Origin: (2:283/608.5)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: 283/608 6 1 512 396/1 270/101 105/103 42 712/515 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™.