blp2convertdlg.h

来自「魔兽世界blp2tga工具和源代码」· C头文件 代码 · 共 43 行

H
43
字号
// blp2convertDlg.h : header file
// 9-25-2004
// written by kingmark
// didiverycool@hotmail.com

#pragma once
#include "afxwin.h"

#define SAFE_DELETE(p)       { if(p) { delete (p);     (p)=NULL; } }
#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p);   (p)=NULL; } }

// Cblp2convertDlg dialog
class Cblp2convertDlg : public CDialog
{
// Construction
public:
	Cblp2convertDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_BLP2CONVERT_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnDropFiles(HDROP hDropInfo);
	CListBox m_List;
	afx_msg void OnBnClickedOk();
private:
	void ConvertNow();
	void LoadAndConvert(const char * pszFileName, char** pBuff);
};

⌨️ 快捷键说明

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