⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mydialog.h

📁 一个人工智能的国际象棋游戏
💻 H
字号:
/****************************************************
Author: S. Senthil kumar
Class Name: mydialog
Purpose:    To display the dialog box during pawn promotion

******************************************************/

class mydialog:public CDialog
{
CFont chessfont;				//Font for displaying pieces
CButton pieces[5],groupbox;		//Buttons to display pieces.
CButton ok;						//OK Button
int selectedval;				//To identify piece selected to promote pawn
public:
	mydialog(int n);	//Constructor	
	int OnInitDialog();	//Message
	void Ok();			//When user clicks OK
	int GetSelected();	//Returns selected piece
	DECLARE_MESSAGE_MAP();

};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -