BS_AUTOCHECKBOX | WS_TABSTOP,10,51,84,8\r
CONTROL "&Quiet Play",OPT_QuietPlay,"Button",BS_AUTOCHECKBOX | \r
WS_TABSTOP,10,64,63,8\r
+ CONTROL "See&k Graph",OPT_SeekGraph,"Button",BS_AUTOCHECKBOX | \r
+ WS_TABSTOP,10,77,63,8\r
+ CONTROL "auto-&Refresh",OPT_AutoRefresh,"Button",BS_AUTOCHECKBOX | \r
+ WS_TABSTOP,84,77,63,8\r
+ CONTROL "Bckgnd Obser&ve",OPT_BgObserve,"Button",BS_AUTOCHECKBOX | \r
+ WS_TABSTOP,10,90,68,8\r
+ CONTROL "&Dual Board",OPT_DualBoard,"Button",BS_AUTOCHECKBOX | \r
+ WS_TABSTOP,84,90,63,8\r
CONTROL "&Premove",OPT_Premove,"Button",BS_AUTOCHECKBOX | \r
WS_TABSTOP,160,12,46,10\r
CONTROL "&White first move",OPT_PremoveWhite,"Button",\r
CONTROL "&Black first move",OPT_PremoveBlack,"Button",\r
BS_AUTOCHECKBOX | WS_TABSTOP,160,40,66,10\r
EDITTEXT OPT_PremoveBlackText,236,38,25,14,ES_AUTOHSCROLL\r
+ CONTROL "One-Click &Move",OPT_SmartMove,"Button",BS_AUTOCHECKBOX | \r
+ WS_TABSTOP,160,54,100,10\r
CONTROL "&Sound alarm at",OPT_IcsAlarm,"Button",BS_AUTOCHECKBOX | \r
WS_TABSTOP,160,85,63,10\r
EDITTEXT OPT_IcsAlarmTime,236,81,26,14,ES_AUTOHSCROLL\r
CONTROL "",OPT_SampleNormal,"RICHEDIT",ES_CENTER | ES_MULTILINE | \r
ES_READONLY | WS_DISABLED | WS_GROUP,159,194,75,15,\r
WS_EX_CLIENTEDGE\r
+ LTEXT "Startup &Chat Boxes:",IDC_STATIC,4,251,65,8\r
+ EDITTEXT OPT_StartupChatBoxes,72,249,90,14,ES_AUTOHSCROLL\r
GROUPBOX "Interaction Colors",IDC_STATIC,4,103,294,140\r
GROUPBOX "Premove",IDC_STATIC,154,0,144,69\r
GROUPBOX "General",IDC_STATIC,4,0,146,101\r
CHECK_BOX(OPT_GetMoveList, appData.getMoveList);\r
CHECK_BOX(OPT_LocalLineEditing, appData.localLineEditing);\r
CHECK_BOX(OPT_QuietPlay, appData.quietPlay);\r
+ CHECK_BOX(OPT_SeekGraph, appData.seekGraph);\r
+ CHECK_BOX(OPT_AutoRefresh, appData.autoRefresh);\r
+ CHECK_BOX(OPT_BgObserve, appData.bgObserve);\r
+ CHECK_BOX(OPT_DualBoard, appData.dualBoard);\r
+ CHECK_BOX(OPT_SmartMove, appData.oneClick);\r
CHECK_BOX(OPT_Premove, appData.premove);\r
CHECK_BOX(OPT_PremoveWhite, appData.premoveWhite);\r
CHECK_BOX(OPT_PremoveBlack, appData.premoveBlack);\r
SetDlgItemText(hDlg, OPT_IcsAlarmTime, buf);\r
SetDlgItemText(hDlg, OPT_PremoveWhiteText, appData.premoveWhiteText);\r
SetDlgItemText(hDlg, OPT_PremoveBlackText, appData.premoveBlackText);\r
+ SetDlgItemText(hDlg, OPT_StartupChatBoxes, appData.chatBoxes);\r
\r
SendDlgItemMessage(hDlg, OPT_SampleShout, EM_SETBKGNDCOLOR, 0, cbc);\r
SendDlgItemMessage(hDlg, OPT_SampleSShout, EM_SETBKGNDCOLOR, 0, cbc);\r
appData.getMoveList = IS_CHECKED(OPT_GetMoveList);\r
appData.localLineEditing = IS_CHECKED(OPT_LocalLineEditing);\r
appData.quietPlay = IS_CHECKED(OPT_QuietPlay);\r
+ appData.seekGraph = IS_CHECKED(OPT_SeekGraph);\r
+ appData.autoRefresh = IS_CHECKED(OPT_AutoRefresh);\r
+ appData.bgObserve = IS_CHECKED(OPT_BgObserve);\r
+ appData.dualBoard = IS_CHECKED(OPT_DualBoard);\r
+ appData.oneClick = IS_CHECKED(OPT_SmartMove);\r
\r
#undef IS_CHECKED\r
\r
appData.icsAlarmTime = number * 1000;\r
GetDlgItemText(hDlg, OPT_PremoveWhiteText, appData.premoveWhiteText, 5);\r
GetDlgItemText(hDlg, OPT_PremoveBlackText, appData.premoveBlackText, 5);\r
+ GetDlgItemText(hDlg, OPT_StartupChatBoxes, buf, sizeof(buf));\r
+ buf[sizeof(buf)-1] = NULLCHAR; appData.chatBoxes = StrSave(buf); // memory leak\r
\r
if (appData.localLineEditing) {\r
DontEcho();\r