khanat-code-old/code/nel/tools/3d/object_viewer/fog_dlg.cpp

57 lines
1.7 KiB
C++
Raw Normal View History

2011-02-18 20:27:31 +00:00
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
// fog_dlg.cpp : implementation file
//
#include "std_afx.h"
#include "object_viewer.h"
#include "fog_dlg.h"
/////////////////////////////////////////////////////////////////////////////
// CFogDlg dialog
CFogDlg::CFogDlg(CWnd* pParent /*=NULL*/)
: CDialog(CFogDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CFogDlg)
m_FogStart = 0.0f;
m_FogEnd = 100.0f;
//}}AFX_DATA_INIT
}
void CFogDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFogDlg)
DDX_Text(pDX, IDC_EDIT1, m_FogStart);
DDX_Text(pDX, IDC_EDIT2, m_FogEnd);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFogDlg, CDialog)
//{{AFX_MSG_MAP(CFogDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFogDlg message handlers