Serious-Engine/Sources/Modeler/DlgPgInfoAttachingPlacement.h

98 lines
3.2 KiB
C
Raw Normal View History

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_DLGPGINFOATTACHINGPLACEMENT_H__01700903_25FE_11D2_8361_004095812ACC__INCLUDED_)
#define AFX_DLGPGINFOATTACHINGPLACEMENT_H__01700903_25FE_11D2_8361_004095812ACC__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DlgPgInfoAttachingPlacement.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgPgInfoAttachingPlacement dialog
class CDlgPgInfoAttachingPlacement : public CPropertyPage
{
DECLARE_DYNCREATE(CDlgPgInfoAttachingPlacement)
// Construction
public:
CUpdateable m_udAllValues;
INDEX m_iActivePlacement;
CDlgPgInfoAttachingPlacement();
~CDlgPgInfoAttachingPlacement();
BOOL BrowseAttachement( CAttachedModel *pam);
void SetPlacementReferenceVertex(INDEX iCenter, INDEX iFront, INDEX iUp);
INDEX GetCurrentAttachingPlacement(void);
BOOL BrowseModelAndTexture(CTFileName &fnModel, CTFileName &fnTexture);
void FillAttachmentModelAnimationCombo(void);
BOOL OnIdle(LONG lCount);
// Dialog Data
//{{AFX_DATA(CDlgPgInfoAttachingPlacement)
enum { IDD = IDD_INFO_ATTACHING_PLACEMENT };
CComboBox m_comboAttachmentModelAnimation;
float m_fBanking;
float m_fHeading;
float m_fPitch;
float m_fXOffset;
float m_fYOffset;
float m_fZOffset;
CString m_strName;
CString m_strAttachingModel;
CString m_strAttachingVertices;
CString m_strPlacementIndex;
BOOL m_bIsVisible;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDlgPgInfoAttachingPlacement)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgPgInfoAttachingPlacement)
afx_msg void OnAddAttachingPlacement();
afx_msg void OnChangeAttachingPlacementBanking();
afx_msg void OnChangeAttachingPlacementHeading();
afx_msg void OnChangeAttachingPlacementName();
afx_msg void OnChangeAttachingPlacementPitch();
afx_msg void OnChangeAttachingPlacementXOffset();
afx_msg void OnChangeAttachingPlacementYOffset();
afx_msg void OnChangeAttachingPlacementZOffset();
afx_msg void OnBrowseModel();
afx_msg void OnNextAttachingPlacement();
afx_msg void OnPreviousAttachingPlacement();
afx_msg void OnRemoveAttachingPlacement();
afx_msg void OnIsVisible();
afx_msg void OnSelchangeAttachmentModelAnimationCombo();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGPGINFOATTACHINGPLACEMENT_H__01700903_25FE_11D2_8361_004095812ACC__INCLUDED_)