X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwoptions.c;h=a48b924164538f783f1d83ebf4bf39f3256b79e9;hb=bf07cc0c5232c7cd486fab118defa0815ff89183;hp=ceea3df2336b2e263637758e84294e02d64f0f79;hpb=6a4ae36fae56e66f3fd0517a249db2bc4f7118f9;p=xboard.git diff --git a/winboard/woptions.c b/winboard/woptions.c index ceea3df..a48b924 100644 --- a/winboard/woptions.c +++ b/winboard/woptions.c @@ -819,6 +819,7 @@ int radioButton[] = { -1, // Twilight, OPT_VariantMakruk, OPT_VariantSChess, + OPT_VariantGrand, OPT_VariantSpartan, // Spartan -2 // sentinel }; @@ -1550,6 +1551,7 @@ FontOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) SetSampleFontText(hDlg, OPT_SampleCommentsFont, &workFont[COMMENT_FONT]); SetSampleFontText(hDlg, OPT_SampleConsoleFont, &workFont[CONSOLE_FONT]); SetSampleFontText(hDlg, OPT_SampleMoveHistoryFont, &workFont[MOVEHISTORY_FONT]); + SetSampleFontText(hDlg, OPT_SampleGameListFont, &workFont[GAMELIST_FONT]); firstPaint = FALSE; } break; @@ -1578,6 +1580,7 @@ FontOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) CopyFont(font[i][CONSOLE_FONT], &workFont[CONSOLE_FONT]); CopyFont(font[i][COMMENT_FONT], &workFont[COMMENT_FONT]); CopyFont(font[i][MOVEHISTORY_FONT], &workFont[MOVEHISTORY_FONT]); + CopyFont(font[i][GAMELIST_FONT], &workFont[GAMELIST_FONT]); } /* end sad necessity */ @@ -1667,6 +1670,11 @@ FontOptionsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) SetSampleFontText(hDlg, OPT_SampleMoveHistoryFont, &workFont[MOVEHISTORY_FONT]); break; + case OPT_ChooseGameListFont: + MyCreateFont(hDlg, &workFont[GAMELIST_FONT]); + SetSampleFontText(hDlg, OPT_SampleGameListFont, &workFont[GAMELIST_FONT]); + break; + case OPT_DefaultFonts: for (i=0; i