home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol12n07.zip
/
FNTPRN.ZIP
/
FNTSRC.ZIP
/
ENUMFONT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-13
|
1KB
|
48 lines
/*
** Defines
*/
#define JUST_LEFT 0
#define JUST_CENTER 1
#define JUST_RIGHT 2
#define JUST_JUST 3
#define BOLD_BIT 1
#define ITALIC_BIT 2
/*
** Structures and Typedefs
*/
typedef enum tagSORTORDER{ALPHA,HEIGHT,WIDTH,NARROWNESS,
WEIGHT,FONTTYPE}SORTORDER;
typedef enum tagMONOSPACE{VAR,MONO,VARMONO}MONOSPACE;
/*
** Global Variables
*/
extern HANDLE instance;
extern HWND hwndSortorder;
extern HWND hwndDialog;
/* following are user choices to drive file generation */
extern SORTORDER sortorder;
extern MONOSPACE monospace;
extern int use_printer_context,allow_synthesis,truetype_only;
extern int incl_novelty,incl_modern,incl_roman,
incl_script,incl_sanserif,incl_other;
extern int incl_regular,incl_bold,incl_italic,incl_bolditalic;
extern int launchwrite;
// following set by dialog proc, used by generate_file_from_options()
extern LPSTR sample_text_ptr;
extern int sample_text_length;
extern int sample_text_pointsize; // in half-points (24==12pt)
extern int sample_text_just; // JUST_LEFT ... JUST_JUST
extern LPSTR default_font;
extern BYTE default_ffid;
extern int default_pointsize; // in half-points (24==12 pt)
extern int default_just; // JUST_LEFT ... JUST_JUST
extern int default_bolditalic; // BOLD_BIT | ITALIC_BIT
/*
** Function Prototypes
*/
extern void generate_file_from_options(void);