textureload.cpp
来自「quake3工具源码。包括生成bsp文件」· C++ 代码 · 共 60 行
CPP
60 行
// TextureLoad.cpp : implementation file
//
#include "stdafx.h"
#include "Radiant.h"
#include "TextureLoad.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTextureLoad dialog
CTextureLoad::CTextureLoad(CWnd* pParent /*=NULL*/)
: CDialog(CTextureLoad::IDD, pParent)
{
//{{AFX_DATA_INIT(CTextureLoad)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CTextureLoad::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CTextureLoad)
DDX_Control(pDX, IDC_LIST_TEXTURES, m_wndList);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CTextureLoad, CDialog)
//{{AFX_MSG_MAP(CTextureLoad)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTextureLoad message handlers
BOOL CTextureLoad::OnInitDialog()
{
CDialog::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CTextureLoad::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?