Files
Client/GameTools/WORLDCREATOR/DlgDuenLight.cpp
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

71 lines
1.5 KiB
C++

// DlgDuenLight.cpp : implementation file
//
#include "stdafx.h"
#include "worldcreator.h"
#include "DlgDuenLight.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgDuenLight dialog
CDlgDuenLight::CDlgDuenLight(CWnd* pParent /*=NULL*/)
: CDialog(CDlgDuenLight::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgDuenLight)
m_uiBlue = 0;
m_uiGreen = 0;
m_iLeaf = 0;
m_strPos = _T("");
m_fRange = 0.0f;
m_uiRed = 0;
//}}AFX_DATA_INIT
}
void CDlgDuenLight::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgDuenLight)
DDX_Text(pDX, IDC_BLUE, m_uiBlue);
DDX_Text(pDX, IDC_GREEN, m_uiGreen);
DDX_Text(pDX, IDC_LEAFEDIT, m_iLeaf);
DDX_Text(pDX, IDC_POSEDIT, m_strPos);
DDX_Text(pDX, IDC_RANGE, m_fRange);
DDX_Text(pDX, IDC_RED, m_uiRed);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgDuenLight, CDialog)
//{{AFX_MSG_MAP(CDlgDuenLight)
ON_BN_CLICKED(IDOK2, OnOk2)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgDuenLight message handlers
BOOL CDlgDuenLight::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CDlgDuenLight::OnOk2()
{
// TODO: Add your control notification handler code here
UpdateData(TRUE);
CDialog::OnOK();
}