now. The main goal here is to allow A_BOLD to select *either* high intensity color (the old behavior) *or* a genuine bold font (the new option for SDL-TTF and X11), but not both at once; and also to facilitate similar choice with A_BLINK in the future. (High-intensity color can still be combined with bold fonts by directly selecting one of the 8-15 colors.) A_ITALIC is also half-covered, but since A_INVIS is kind of useless, I've omitted PDC_set_italic(). To Do: Test everywhere; more docs.
PDCurses for DOS
This directory contains PDCurses source code files specific to DOS.
Building
-
Choose the appropriate makefile for your compiler:
bccdos.mak - Borland C++ 3.0+ gccdos.mak - DJGPP V2 mscdos.mak - Microsoft C wccdos16.mak - Open Watcom 1.8+ (16-bit) wccdos4g.mak - Open Watcom 1.8+ (32-bit) -
For 16-bit compilers, you can change the memory MODEL in the makefile. (Large model is the default, and recommended.)
-
Optionally, you can build in a different directory than the platform directory by setting PDCURSES_SRCDIR to point to the directory where you unpacked PDCurses, and changing to your target directory:
set PDCURSES_SRCDIR=c:\pdcurses -
Build it:
make -f makefile(For Watcom, use "wmake" instead of "make"; for MSVC, "nmake".) You'll get the libraries (pdcurses.lib or .a, depending on your compiler; and panel.lib or .a), the demos (*.exe), and a lot of object files. Note that the panel library is just a copy of the main library, provided for convenience; both panel and curses functions are in the main library.
Distribution Status
The files in this directory are released to the Public Domain.
Acknowledgements
Watcom C port was provided by Pieter Kunst kunst@prl.philips.nl
DJGPP 1.x port was provided by David Nugent davidn@csource.oz.au