delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/05/11:35:43

Message-Id: <199811051635.QAA06436@remus.clara.net>
From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: Beginner's graphics question
Date: Thu, 5 Nov 1998 16:35:12 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
In-Reply-To: <000b01be086c$4a391e20$6b689ad1@default>
Importance: Normal
Reply-To: djgpp AT delorie DOT com

>How do you retain the screen under the "pop-up box"?  That is why I think I
need to >use graphics but I'm probably wrong.  I'm willing to start at the
beginning of >learning graphics if that is what's needed, but I'd like to do
that at a later date.  >I'd appreciate any help in the right direction.

You need to copy an area of the screen on which the box will be drawn to a
memory bitmap, draw the box, then copy the saved area of screen back when
you want the box to go away. Check out Allegro's blit function.

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819


- Raw text -


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