www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/15/19:01:54

From: "a Peirano" <aldo DOT peirano AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: using textout to output the RGB of a color (allegro)
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <AMxw5.66520$i5.2581435@news1.rdc2.on.home.com>
Date: Fri, 15 Sep 2000 22:54:24 GMT
NNTP-Posting-Host: 24.68.31.126
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc2.on.home.com 969058464 24.68.31.126 (Fri, 15 Sep 2000 15:54:24 PDT)
NNTP-Posting-Date: Fri, 15 Sep 2000 15:54:24 PDT
Organization: Excite AT Home - The Leader in Broadband
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

HELP USING ALLEGRO

Hi i'm fairly new to programming with Djgpp and C++ but I was wondering if
there was a way of printing out the RGB of a colour using the textout
function.

ie:
use the get_color() function to get the colour
and then use the textout to output the RGB to see the values?


- Raw text -


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