#pragma once
#include "global.h"
class CAniEditorDrawGrid : public CDialog
{
	DECLARE_DYNAMIC(CAniEditorDrawGrid)
	DECLARE_MESSAGE_MAP()
public:
	CAniEditorDrawGrid(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CAniEditorDrawGrid();
	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_CANIEDITOR_DRAW_GRID };
#endif
	int outGridW = 16;
	int outGridH = 16;
	int outCountW = 16;
	int outCountH = 16;
	bool outShowBk = true;
	bool outShowLine = true;
	bool outShowEntity = true;
	bool outIsDark = true;
protected:
	void DoDataExchange(CDataExchange* pDX) override;
	BOOL OnInitDialog() override;
public:
	afx_msg void OnBnClickedOk();
private:
	//控件
	CEdit edit_grid_w;
	CEdit edit_grid_h;
	CEdit edit_count_w;
	CEdit edit_count_h;
	CButton check_showBk;
	CButton check_showLine;
	CButton check_showEntity;
	CButton radio_dark;
	CButton radio_light;
};

