Changes to allow fonts with any charset (such as terminal)
[xboard.git] / winboard / winboard.h
index a16496c..973aab6 100644 (file)
@@ -2,9 +2,12 @@
  * WinBoard.h -- Definitions for Windows NT front end to XBoard\r
  *\r
  * Copyright 1991 by Digital Equipment Corporation, Maynard,\r
- * Massachusetts.  Enhancements Copyright\r
- * 1992-2001,2002,2003,2004,2005,2006,2007,2008,2009 Free Software\r
- * Foundation, Inc.\r
+ * Massachusetts. \r
+ *\r
+ * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006,\r
+ * 2007, 2008, 2009 Free Software Foundation, Inc.\r
+ *\r
+ * Enhancements Copyright 2005 Alessandro Scotti\r
  *\r
  * The following terms apply to Digital Equipment Corporation's copyright\r
  * interest in XBoard:\r
@@ -56,6 +59,7 @@ typedef struct {
   char faceName[LF_FACESIZE];\r
   float pointSize;\r
   BYTE bold, italic, underline, strikeout;\r
+  BYTE charset;\r
 } MyFontParams;\r
 \r
 typedef struct {\r
@@ -166,15 +170,6 @@ extern MyFont *font[NUM_SIZES][NUM_FONTS];
 #define OUTLINE_PIECE         1\r
 #define WHITE_PIECE           2\r
 \r
-/* Some definitions required by MSVC 4.1 */ \r
-#ifndef WM_MOUSEWHEEL \r
-#define WM_MOUSEWHEEL 0x020A \r
-#endif \r
-#ifndef SCF_DEFAULT \r
-#define SCF_DEFAULT 0x0000 \r
-#define SCF_ALL 0x0004 \r
-#endif \r
-\r
 #define COPY_TMP "wbcopy.tmp"\r
 #define PASTE_TMP "wbpaste.tmp"\r
 \r