mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
697 B
46 lines
697 B
// Text Structure for Separate Page
|
|
|
|
#define SEPMAXTEXT 1000
|
|
|
|
typedef struct
|
|
{
|
|
DWORD dwEmfSize;
|
|
DWORD dwTextRecords;
|
|
SIZE sizePage;
|
|
}
|
|
SEPFILEHEADER;
|
|
|
|
typedef struct
|
|
{
|
|
RECT position; // position rect
|
|
COLORREF color; // color of text
|
|
WORD align; // alignment of text
|
|
LOGFONTA lf; // font property
|
|
char text[SEPMAXTEXT]; // text
|
|
}
|
|
TEXTBOX;
|
|
|
|
// job-info description
|
|
typedef struct
|
|
{
|
|
char* description;
|
|
char* insert;
|
|
}
|
|
JOBINFO;
|
|
|
|
extern JOBINFO JobInfo[];
|
|
|
|
// text alignment
|
|
typedef struct
|
|
{
|
|
UINT drawstyle;
|
|
DWORD editstyle;
|
|
}
|
|
ALIGNTABLE;
|
|
|
|
extern ALIGNTABLE AlignTable[];
|
|
|
|
#define ALIGNLEFT 0
|
|
#define ALIGNCENTER 1
|
|
#define ALIGNRIGHT 2
|
|
|