delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/13:32:06

From: Einar <"eincar"@[EINAR]vip.cybercity.dk>
Newsgroups: comp.os.msdos.djgpp
Subject: Page flipping?
Date: Sat, 22 Aug 1998 16:45:04 +0200
Organization: CyberCity Internet
Lines: 29
Message-ID: <6rml2a$hkm$1@news.cybercity.dk>
NNTP-Posting-Host: 212.242.3.218
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I looking for the means to place a bitmap [b] on top of another BMP [a],
and when I'm finished with [b] it should be cleared of the screen,
leaving only the original [a] bitmap.

The means to do this, seems to be page flipping, but I can't seem to
find any information about it.

I've done a test with the use different screen names when using the blit
command:

Blit(a,screen,0,0,0,0,a->w,a->h);
readkey();
blit(b,screen2,0,0,0,0,b->,b->h);
readkey();
clear(screen2);

It was a shot in the dark, and it didn't work, as screen2 was
undeclared, and I don't know how to declare it.

Could anyone give me a clue to where I could find information on page
flipping?

Thanks in advance.
Einar.

-------------------------------------------------------

Remove [EINAR] from e-mail address when replying

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019