Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

46 lines
980 B
C++

// IntPanel.cpp : implementation file
//
#include "stdafx.h"
#include "mw4gameed2.h"
#include "IntPanel.h"
/////////////////////////////////////////////////////////////////////////////
// CIntPanel dialog
CIntPanel::CIntPanel(int *dpt,CString fname,CWnd* pParent /*=NULL*/)
: CFieldPanel(CIntPanel::IDD, fname,pParent)
{
MyData=dpt;
//{{AFX_DATA_INIT(CIntPanel)
m_Int = 0;
//}}AFX_DATA_INIT
m_Int=*MyData;
}
void CIntPanel::DoDataExchange(CDataExchange* pDX)
{
CFieldPanel::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CIntPanel)
DDX_Text(pDX, IDC_INTFIELD, m_Int);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CIntPanel, CFieldPanel)
//{{AFX_MSG_MAP(CIntPanel)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CIntPanel message handlers
void CIntPanel::OnOK()
{
UpdateData(TRUE);
*MyData=m_Int;
}