delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/15/03:07:45

Date: Mon, 15 Jul 1996 10:02:13 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: GEORGE GAGHON <gaghon AT nevada DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: printf or equivalent.
In-Reply-To: <4s3l75$euu@news.nevada.edu>
Message-Id: <Pine.SUN.3.91.960715100116.12996C-100000@is>
Mime-Version: 1.0

On 11 Jul 1996, GEORGE GAGHON wrote:

> I am in mode 0x13 (256 color VGA) and I wanted to use the print command
> to display text in    A)different colors
>                       B)the location I want on the screen
>                       C)in a transparent mode
> 
> Currently printf just prints where the last printf was.  In white, and with
> a black box around the text erasing any pictures directly behind it.

You will have to sprintf the text into a string, and then to display that 
string with any of the functions that put arbitrary text on the graphics 
screen.

- Raw text -


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