From 581fdb34db609d8ae57dd9129e7ea6c98ddc4cba Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sun, 8 Oct 2006 23:39:41 +0000 Subject: [PATCH] And here it is. Not much to it... originally I thought I'd define the CONSOLE_INFO struct here, but as it turns out, I'm confining it to pdcscrn.c. Ah well. --- win32/pdcwin.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 win32/pdcwin.h diff --git a/win32/pdcwin.h b/win32/pdcwin.h new file mode 100644 index 00000000..9107723d --- /dev/null +++ b/win32/pdcwin.h @@ -0,0 +1,30 @@ +/************************************************************************ + * This file is part of PDCurses. PDCurses is public domain software; * + * you may use it for any purpose. This software is provided AS IS with * + * NO WARRANTY whatsoever. * + * * + * If you use PDCurses in an application, an acknowledgement would be * + * appreciated, but is not mandatory. If you make corrections or * + * enhancements to PDCurses, please forward them to the current * + * maintainer for the benefit of other users. * + * * + * No distribution of modified PDCurses code may be made under the name * + * "PDCurses", except by the current maintainer. (Although PDCurses is * + * public domain, the name is a trademark.) * + * * + * See the file maintain.er for details of the current maintainer. * + ************************************************************************/ + +/* $Id: pdcwin.h,v 1.1 2006/10/08 23:39:41 wmcbrine Exp $ */ + +#ifdef PDC_WIDE +# define UNICODE +#endif + +#include +#undef MOUSE_MOVED +#include + +extern HANDLE hConOut, hConIn; + +extern int PDC_get_buffer_rows(void);