28 lines
676 B
C
28 lines
676 B
C
|
/* PDCurses */
|
||
|
|
||
|
#if defined(PDC_WIDE) && !defined(UNICODE)
|
||
|
# define UNICODE
|
||
|
#endif
|
||
|
|
||
|
#define WIN32_LEAN_AND_MEAN
|
||
|
#include <windows.h>
|
||
|
#undef MOUSE_MOVED
|
||
|
#include <curspriv.h>
|
||
|
|
||
|
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
||
|
# define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */
|
||
|
#endif
|
||
|
|
||
|
typedef struct {short r, g, b; bool mapped;} PDCCOLOR;
|
||
|
|
||
|
extern PDCCOLOR pdc_color[PDC_MAXCOL];
|
||
|
|
||
|
extern HANDLE pdc_con_out, pdc_con_in;
|
||
|
extern DWORD pdc_quick_edit;
|
||
|
extern DWORD pdc_last_blink;
|
||
|
extern short pdc_curstoreal[16], pdc_curstoansi[16];
|
||
|
extern short pdc_oldf, pdc_oldb, pdc_oldu;
|
||
|
extern bool pdc_conemu, pdc_wt, pdc_ansi;
|
||
|
|
||
|
extern void PDC_blink_text(void);
|