font->mfp.italic = font->lf.lfItalic;
font->mfp.underline = font->lf.lfUnderline;
font->mfp.strikeout = font->lf.lfStrikeOut;
+ font->mfp.charset = font->lf.lfCharSet;
strcpy(font->mfp.faceName, font->lf.lfFaceName);
return TRUE;
}
CHARFORMAT cf;
cf.cbSize = sizeof(CHARFORMAT);
cf.dwMask =
- CFM_COLOR|CFM_BOLD|CFM_ITALIC|CFM_UNDERLINE|CFM_STRIKEOUT|CFM_FACE|CFM_SIZE;
+ CFM_COLOR|CFM_CHARSET|CFM_BOLD|CFM_ITALIC|CFM_UNDERLINE|CFM_STRIKEOUT|CFM_FACE|CFM_SIZE;
cf.crTextColor = mca->color;
cf.dwEffects = mca->effects;
strcpy(cf.szFaceName, font[boardSize][CONSOLE_FONT]->mfp.faceName);
appData.colorize =
(Boolean)!IsDlgButtonChecked(hDlg, OPT_DontColorize);
- if (!appData.colorize) {
+ ChangedConsoleFont();\r
+\r
+ if (!appData.colorize) {
CHARFORMAT cf;
COLORREF background = ParseColorName(COLOR_BKGD);
/*
cf.cbSize = sizeof(CHARFORMAT);
cf.dwMask = CFM_COLOR;
cf.crTextColor = ParseColorName(COLOR_NORMAL);
-
+\r
SendDlgItemMessage(hwndConsole, OPT_ConsoleInput,
EM_SETCHARFORMAT, SCF_ALL, (LPARAM)&cf);
SendDlgItemMessage(hwndConsole, OPT_ConsoleText,
dest->mfp.italic = src->mfp.italic;
dest->mfp.underline = src->mfp.underline;
dest->mfp.strikeout = src->mfp.strikeout;
+ dest->mfp.charset = src->mfp.charset;
lstrcpy(dest->mfp.faceName, src->mfp.faceName);
CreateFontInMF(dest);
}
appData.ruleMoves = GetDlgItemInt(hDlg, IDC_RuleMoves, NULL, FALSE );
appData.drawRepeats = (int) GetDlgItemInt(hDlg, IDC_DrawRepeats, NULL, FALSE );
- appData.firstScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs1);
- appData.secondScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs2);
+ first.scoreIsAbsolute = appData.firstScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs1);
+ second.scoreIsAbsolute = appData.secondScoreIsAbsolute = IS_CHECKED(IDC_ScoreAbs2);
EndDialog(hDlg, TRUE);
return TRUE;