SetDepth() on screen buffer

A PocketC native palm library offering native forms and assorted utilities

Postby artosoft on Tue Sep 04, 2001 1:02 am


Did SetDepth() affect on all screen buffer? Or just affect on active screen buffer?

For example, I have screen buffer 0 (main buffer, screen buffer 1, screen buffer 2.
When I am in screen buffer 1 (SetDrawBuf(1)), what happend if I call SetDepth() to changing depth?

Thank you.

Best regards, Dian Suharto.
Posts: 207
Joined: Sat Dec 09, 2000 12:57 am
Location: Indonesia

Postby jstadolnik on Tue Sep 04, 2001 1:36 am

I don't know. I haven't experimented with that functionality in quite some time.

Intuitively, I'd expect that you can change the depth without effecting the scratch buffers, provided that you don't draw in these scratch buffers. Drawing in them after the depth is changed will probably cause system errors or corrupt the buffer. Though if you set the depth back, you can probably access the buffer just fine.

The bottom line is that you'll have to do some experimenting to see what works and what doesn't.

Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to Pocket Toolbox

Who is online

Users browsing this forum: No registered users and 2 guests