TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Eric Theriault
from: Alan Clifford
date: 1996-05-05 16:43:08
subject: EMX: Color text?

Hello Eric

Replying to a message of Herbert Bushong to Eric Theriault:

 HB> ::>    textcolor(0x0E);
 HB> ::>    cputs("This is in Yellow");

 HB> ::> How can I do this in EMX?  I can't seem to find anything that
 HB> supports suc ::> function.  Thank you for any help you can offer.

 HB> I did my first "Hello World" using EMX. It shows how I changed the
 HB> colors. 


I'd like to add a small point. You use v_gotoxy() for cursor positioning.
But you can't mix printf() with v_printf() because, I seem to remember,
printf() doesn't know about the cursor position.  

Alan

--- FleetStreet 1.14 NR
* Origin: Alan's Point on Donor/2 (alanc{at}donor2.demon.co.uk) (2:440/4.6)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 440/4 141/209 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.