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>
This commit is contained in:
63
GameTools/EffectEditor/ChangeColor.cpp
Normal file
63
GameTools/EffectEditor/ChangeColor.cpp
Normal file
@@ -0,0 +1,63 @@
|
||||
// ChangeColor.cpp : implementation file
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "effecteditor.h"
|
||||
#include "ChangeColor.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
#undef THIS_FILE
|
||||
static char THIS_FILE[] = __FILE__;
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CChangeColor dialog
|
||||
|
||||
|
||||
CChangeColor::CChangeColor(CWnd* pParent /*=NULL*/)
|
||||
: CDialog(CChangeColor::IDD, pParent)
|
||||
{
|
||||
//{{AFX_DATA_INIT(CChangeColor)
|
||||
m_cBlue = 0;
|
||||
m_cGreen = 0;
|
||||
m_cRed = 0;
|
||||
//}}AFX_DATA_INIT
|
||||
}
|
||||
|
||||
|
||||
void CChangeColor::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
//{{AFX_DATA_MAP(CChangeColor)
|
||||
DDX_Text(pDX, IDC_BLUE, m_cBlue);
|
||||
DDV_MinMaxByte(pDX, m_cBlue, 0, 255);
|
||||
DDX_Text(pDX, IDC_GREEN, m_cGreen);
|
||||
DDV_MinMaxByte(pDX, m_cGreen, 0, 255);
|
||||
DDX_Text(pDX, IDC_RED, m_cRed);
|
||||
DDV_MinMaxByte(pDX, m_cRed, 0, 255);
|
||||
//}}AFX_DATA_MAP
|
||||
}
|
||||
|
||||
|
||||
BEGIN_MESSAGE_MAP(CChangeColor, CDialog)
|
||||
//{{AFX_MSG_MAP(CChangeColor)
|
||||
ON_BN_CLICKED(IDC_OK, OnOk)
|
||||
ON_BN_CLICKED(IDC_CANCLE, OnCancle)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CChangeColor message handlers
|
||||
|
||||
void CChangeColor::OnOk()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
UpdateData();
|
||||
}
|
||||
|
||||
void CChangeColor::OnCancle()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user