www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/12/16:30:23

From: "Steven Peh" <CheePeh AT us DOT ibm DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How do I clear the screen of graphics?
Date: Thu, 12 Nov 1998 15:08:40 -0600
Organization: IBM Rochester MN
Lines: 20
Message-ID: <72fid3$uce$1@news.rchland.ibm.com>
References: <72dc54$maa$2 AT supernews DOT com>
NNTP-Posting-Host: stevenp.rchland.ibm.com
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

try this function..

clear( screen );
// yeap type this as is...and it should clear your screen..
// if you're using buffering try this..

clear( buffer );
blit( buffer, screen, 0, 0, 0, 0, SCREEN_W, SCREEN_H );

Thiessen wrote in message <72dc54$maa$2 AT supernews DOT com>...
>Hi,
>
>I was wondering how to clear the screen after things like lines and bitmaps
>have been drawn.  I tried clrscr() but found that it didn't work.  Is there
>a way to do this with Allegro?
>Thanks
>
>


- Raw text -


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