/*===========================================================================Copyright (C) 1999-2005 Id Software, Inc.This file is part of Quake III Arena source code.Quake III Arena source code is free software; you can redistribute itand/or modify it under the terms of the GNU General Public License aspublished by the Free Software Foundation; either version 2 of the License,or (at your option) any later version.Quake III Arena source code is distributed in the hope that it will beuseful, but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Foobar; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA===========================================================================*/#if !defined(AFX_PATCHDIALOG_H__DE62DFB4_E9EC_11D2_A509_0020AFEB881A__INCLUDED_)#define AFX_PATCHDIALOG_H__DE62DFB4_E9EC_11D2_A509_0020AFEB881A__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000// PatchDialog.h : header file///////////////////////////////////////////////////////////////////////////////// CPatchDialog dialogclassCPatchDialog:publicCDialog{patchMesh_t*m_Patch;// Constructionpublic:voidUpdateInfo();voidSetPatchInfo();voidGetPatchInfo();CPatchDialog(CWnd*pParent=NULL);// standard constructorvoidUpdateSpinners(boolbUp,intnID);// Dialog Data//{{AFX_DATA(CPatchDialog)enum{IDD=IDD_DIALOG_PATCH};CSpinButtonCtrlm_wndVShift;CSpinButtonCtrlm_wndVScale;CSpinButtonCtrlm_wndRotate;CSpinButtonCtrlm_wndHShift;CSpinButtonCtrlm_wndHScale;CComboBoxm_wndType;CComboBoxm_wndRows;CComboBoxm_wndCols;CStringm_strName;floatm_fS;floatm_fT;floatm_fX;floatm_fY;floatm_fZ;floatm_fHScale;floatm_fHShift;floatm_fRotate;floatm_fVScale;floatm_fVShift;//}}AFX_DATA// Overrides// ClassWizard generated virtual function overrides//{{AFX_VIRTUAL(CPatchDialog)protected:virtualvoidDoDataExchange(CDataExchange*pDX);// DDX/DDV support//}}AFX_VIRTUAL// Implementationprotected:voidUpdateRowColInfo();// Generated message map functions//{{AFX_MSG(CPatchDialog)afx_msgvoidOnBtnPatchdetails();afx_msgvoidOnBtnPatchfit();afx_msgvoidOnBtnPatchnatural();afx_msgvoidOnBtnPatchreset();afx_msgvoidOnSelchangeComboCol();afx_msgvoidOnSelchangeComboRow();afx_msgvoidOnSelchangeComboType();virtualvoidOnOK();afx_msgvoidOnDeltaposSpin(NMHDR*pNMHDR,LRESULT*pResult);virtualBOOLOnInitDialog();afx_msgvoidOnDestroy();afx_msgvoidOnApply();//}}AFX_MSGDECLARE_MESSAGE_MAP()};//{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_PATCHDIALOG_H__DE62DFB4_E9EC_11D2_A509_0020AFEB881A__INCLUDED_)