Give WinBoard Game List its own font
[xboard.git] / winboard / winboard.h
index 89c50ab..115dd86 100644 (file)
@@ -85,6 +85,7 @@ typedef struct {
 typedef struct {\r
   char* name;\r
   void* data;\r
+  int flag; // [HGM] needed to indicate if data was malloc'ed or not\r
 } MySound;\r
 \r
 typedef struct {\r
@@ -131,7 +132,7 @@ VOID ParseFontName(char *name, MyFontParams *mfp);
 void InitComboStrings(HANDLE hwndCombo, char **cd);\r
 BOOLEAN MyLoadSound(MySound *ms);\r
 BOOLEAN MyPlaySound(MySound *ms);\r
-VOID ExitArgError(char *msg, char *badArg);\r
+VOID ExitArgError(char *msg, char *badArg, Boolean quit);\r
 void SaveSettings(char* name);\r
 BOOL BrowseForFolder( const char * title, char * path );\r
 VOID TourneyPopup();\r
@@ -146,7 +147,8 @@ VOID LoadEnginePopUp();
 #define COMMENT_FONT 4\r
 #define EDITTAGS_FONT 5\r
 #define MOVEHISTORY_FONT 6\r
-#define NUM_FONTS 7\r
+#define GAMELIST_FONT 7\r
+#define NUM_FONTS 8\r
 \r
 /* Positions of some menu items.  Origin is zero and separator lines count. */\r
 /* It's gross that these are needed. */\r