optionsdialog.h
来自「EVC4.0开发的国际象棋的元代码」· C头文件 代码 · 共 31 行
H
31 行
/****************************************************
Author: S. Senthil kumar
Class Name: OptionsDialog
Purpose: Displays the options dialog
******************************************************/
class OptionsDialog:public CDialog
{
CString tempdir; //Stores default directory
CListBox *combo; //to display levels available
int whitesquare; //to store color of white square
int blacksquare; // to store color of black square
int whitecolorchanged; // Boolean variable to find whether user changed white color
int blackcolorchanged; //Boolean variable to find whether user changed black color
public:
OptionsDialog(int n); //Constructor
void OnOK(); //When user clicks OK
void OnCancel(); //When user clicks Cancel
int OnInitDialog(); //Message
void OnEnableSound(); //When user enables sound
void ShowOpen(); //Shows the file dialog box and get selected directory
//void DoDataExchange(CDataExchange *pdx);
void ShowColorDialog(int id);//Shows the color dialog for changing board color
void RestoreDefaults(); //When user clicks Restore Defaults.
DECLARE_MESSAGE_MAP();
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?