pdcwin.h 676 B

123456789101112131415161718192021222324252627
  1. /* PDCurses */
  2. #if defined(PDC_WIDE) && !defined(UNICODE)
  3. # define UNICODE
  4. #endif
  5. #define WIN32_LEAN_AND_MEAN
  6. #include <windows.h>
  7. #undef MOUSE_MOVED
  8. #include <curspriv.h>
  9. #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
  10. # define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */
  11. #endif
  12. typedef struct {short r, g, b; bool mapped;} PDCCOLOR;
  13. extern PDCCOLOR pdc_color[PDC_MAXCOL];
  14. extern HANDLE pdc_con_out, pdc_con_in;
  15. extern DWORD pdc_quick_edit;
  16. extern DWORD pdc_last_blink;
  17. extern short pdc_curstoreal[16], pdc_curstoansi[16];
  18. extern short pdc_oldf, pdc_oldb, pdc_oldu;
  19. extern bool pdc_conemu, pdc_wt, pdc_ansi;
  20. extern void PDC_blink_text(void);