"Fossies" - the Fresh Open Source Software Archive

Member "PDCurses-3.9/wincon/pdcwin.h" (4 Sep 2019, 668 Bytes) of package /linux/misc/PDCurses-3.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "pdcwin.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 3.8_vs_3.9.

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