summaryrefslogtreecommitdiff
path: root/win/Moddlg.h
diff options
context:
space:
mode:
authordocwhat1999-11-14 06:43:18 +0000
committerdocwhat1999-11-14 06:43:18 +0000
commitd71eec8062e852e56f03102ba4b4e87dc485821d (patch)
tree452368ad0e7e24627e517a0c88c2508d02cea6dc /win/Moddlg.h
parent2046090b7ce8dd901ce43e650be5acf44016d714 (diff)
Initial revision
git-svn-id: http://svn.leocad.org/trunk@2 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Moddlg.h')
-rw-r--r--win/Moddlg.h91
1 files changed, 91 insertions, 0 deletions
diff --git a/win/Moddlg.h b/win/Moddlg.h
new file mode 100644
index 0000000..87f30d4
--- /dev/null
+++ b/win/Moddlg.h
@@ -0,0 +1,91 @@
+// ModDlg.h: interface for the CModifyDialog class.
+//
+//////////////////////////////////////////////////////////////////////
+
+#if !defined(AFX_INITDIALOGBAR_H__46B4D2B3_C982_11D1_8902_0060979C2EFD__INCLUDED_)
+#define AFX_INITDIALOGBAR_H__46B4D2B3_C982_11D1_8902_0060979C2EFD__INCLUDED_
+
+#if _MSC_VER >= 1000
+#pragma once
+#endif // _MSC_VER >= 1000
+
+#include "ClrPick.h"
+
+/////////////////////////////////////////////////////////////////////////////
+// CModifyDialog window
+
+class CModifyDialog : public CDialogBar
+{
+ DECLARE_DYNAMIC(CModifyDialog)
+
+// Construction / Destruction
+public:
+ CModifyDialog();
+ virtual ~CModifyDialog();
+
+ //{{AFX_DATA(CModifyDialog)
+ enum { IDD = IDD_MODIFY };
+ CComboBox m_ctlCombo;
+ CColorPicker m_ctlColor;
+ float m_fRotX;
+ float m_fRotY;
+ float m_fRotZ;
+ float m_fPosX;
+ float m_fPosY;
+ float m_fPosZ;
+ BOOL m_bHidden;
+ float m_fFOV;
+ int m_nFrom;
+ int m_nTo;
+ CString m_strName;
+ float m_fUpX;
+ float m_fUpY;
+ float m_fUpZ;
+ float m_fFar;
+ float m_fNear;
+ //}}AFX_DATA
+
+// Attributes
+public:
+
+// Operations
+public:
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CModifyDialog)
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX);
+ //}}AFX_VIRTUAL
+
+// Implementation
+public:
+
+ void UpdateInfo(void* pObject, BYTE nType);
+ void OnUpdateCmdUI(CFrameWnd * pTarget, BOOL bDisableIfNoHndler);
+ BOOL Create(CWnd* pParentWnd, UINT nIDTemplate, UINT nStyle, UINT nID);
+ BOOL Create(CWnd* pParentWnd, LPCTSTR lpszTemplateName, UINT nStyle, UINT nID);
+
+protected:
+ virtual BOOL OnInitDialogBar();
+ void* m_pObject;
+ BYTE m_nType;
+
+protected:
+ void UpdateControls(BYTE nType);
+ void OnMenuClick(UINT nID);
+
+ // Generated message map functions
+ //{{AFX_MSG(CModifyDialog)
+ afx_msg void OnModdlgPiece();
+ afx_msg void OnSelendokModdlgList();
+ afx_msg void OnModdlgApply();
+ //}}AFX_MSG
+
+ DECLARE_MESSAGE_MAP()
+};
+
+/////////////////////////////////////////////////////////////////////////////
+
+#endif //!defined(AFX_INITDIALOGBAR_H__46B4D2B3_C982_11D1_8902_0060979C2EFD__INCLUDED_)
+/////////////////////////////////////////////////////////////////////////////