Mail Archives: djgpp/1998/01/14/23:03:42
From: | "Smith A. Cat" <imbe AT primenet DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | simple question re: conio.h
|
Date: | 14 Jan 1998 20:49:00 -0700
|
Organization: | Blue Square Laboratories
|
Lines: | 22
|
Message-ID: | <34BD8993.35DA@primenet.com>
|
MIME-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am writing a program that requires a LOT of user input at the
beginning, and colored text would be VERY useful. I hacked the PDCurses
package to remove conflicts with Allegro and conio.h, (undef all the
KEY_**'s in Allegro.h, recompile PDCurses with hline, vline, and close
all renamed to _*****, and don't use conio.h with it!) but it seems like
an extreme move just to get colored text (in text-mode).
Has anyone got a code fragment that uses conio.h functions to get
colored text?? When I try to use them I ALWAYS get the default colors in
effect at the program startup, I can't set the colors!!?? I can set the
lines to this and that, and I can gotoxy(), but I can't set the
colors?!?!?
Maybe I should just break down and learn to use the Allegro GUI
routines.
Anybody figure this out?
Thanks!
Phil
- Raw text -