2016-03-12 01:20:51 +01:00
|
|
|
/* Copyright (c) 2002-2012 Croteam Ltd.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of version 2 of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation
|
|
|
|
|
|
|
|
|
|
|
|
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 General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
|
2016-03-11 14:57:17 +01:00
|
|
|
|
|
|
|
#if !defined(AFX_EDITMIPSWITCHDISTANCE_H__2D4950D3_5FC1_11D4_84EC_000021291DC7__INCLUDED_)
|
|
|
|
#define AFX_EDITMIPSWITCHDISTANCE_H__2D4950D3_5FC1_11D4_84EC_000021291DC7__INCLUDED_
|
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
#pragma once
|
|
|
|
#endif // _MSC_VER > 1000
|
|
|
|
// EditMipSwitchDistance.h : header file
|
|
|
|
//
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CEditMipSwitchDistance window
|
|
|
|
|
|
|
|
class CEditMipSwitchDistance : public CEdit
|
|
|
|
{
|
|
|
|
// Construction
|
|
|
|
public:
|
|
|
|
BOOL OnIdle(LONG lCount);
|
|
|
|
CEditMipSwitchDistance();
|
|
|
|
CBrushMip *m_pbrmBrushMipSelected;
|
|
|
|
FLOAT m_fLastValue;
|
|
|
|
|
|
|
|
// Attributes
|
|
|
|
public:
|
|
|
|
|
|
|
|
// Operations
|
|
|
|
public:
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
|
|
//{{AFX_VIRTUAL(CEditMipSwitchDistance)
|
|
|
|
public:
|
|
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
public:
|
|
|
|
virtual ~CEditMipSwitchDistance();
|
|
|
|
|
|
|
|
// Generated message map functions
|
|
|
|
protected:
|
|
|
|
//{{AFX_MSG(CEditMipSwitchDistance)
|
|
|
|
//}}AFX_MSG
|
|
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
|
|
|
|
#endif // !defined(AFX_EDITMIPSWITCHDISTANCE_H__2D4950D3_5FC1_11D4_84EC_000021291DC7__INCLUDED_)
|