107 lines
2.7 KiB
C++
107 lines
2.7 KiB
C++
//ANNECY Shaitan Nettoyage (12/05/98) {
|
|
/*
|
|
#if !defined(AFX_ROTDIA_HPP__E2A06241_1F76_11D1_95C8_0060973153D4__INCLUDED_)
|
|
#define AFX_ROTDIA_HPP__E2A06241_1F76_11D1_95C8_0060973153D4__INCLUDED_
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
// rotdia.hpp : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// RotationDia form view
|
|
|
|
#ifndef __AFXEXT_H__
|
|
#include <afxext.h>
|
|
#endif
|
|
|
|
|
|
class Link;
|
|
|
|
class RotationDia : public CFormView
|
|
{
|
|
protected:
|
|
Link* m_poLink;
|
|
BOOL m_bFocusTwist1;
|
|
BOOL m_bFocusTwist2;
|
|
BOOL m_bFocusTwistLap;
|
|
BOOL m_bFocusXLap;
|
|
BOOL m_bFocusYLap;
|
|
|
|
RotationDia(); // protected constructor used by dynamic creation
|
|
DECLARE_DYNCREATE(RotationDia)
|
|
|
|
// Form Data
|
|
public:
|
|
void fn_vInitDialog ( void ); // jack's function to init the dialog
|
|
void fn_vEdit (Link* poLink);
|
|
|
|
BOOL fn_bIsEditLink (Link* poLink) { return m_poLink==poLink; }
|
|
|
|
|
|
|
|
//{{AFX_DATA(RotationDia)
|
|
enum { IDD = IDD_ORIENTATION_DIALOG };
|
|
float m_fTwist1;
|
|
float m_fTwist2;
|
|
long m_lTwistLap;
|
|
long m_lxLap;
|
|
long m_lyLap;
|
|
//}}AFX_DATA
|
|
|
|
// Attributes
|
|
public:
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(RotationDia)
|
|
public:
|
|
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
virtual ~RotationDia();
|
|
void fn_vActivateWindow (BOOL bActivate);
|
|
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(RotationDia)
|
|
afx_msg void OnKillfocusOrientLapTwistEdit();
|
|
afx_msg void OnKillfocusOrientLapXEdit();
|
|
afx_msg void OnKillfocusOrientLapYEdit();
|
|
afx_msg void OnOrientTwistDirectRadio();
|
|
afx_msg void OnOrientTwistIndirectRadio();
|
|
afx_msg void OnOrientXDirectRadio();
|
|
afx_msg void OnOrientXIndirectRadio();
|
|
afx_msg void OnOrientYDirectRadio();
|
|
afx_msg void OnOrientYIndirectRadio();
|
|
afx_msg void OnKillfocusTwist1Edit();
|
|
afx_msg void OnKillfocusTwist2Edit();
|
|
afx_msg void OnSetfocusOrientLapTwistEdit();
|
|
afx_msg void OnSetfocusOrientLapXEdit();
|
|
afx_msg void OnSetfocusOrientLapYEdit();
|
|
afx_msg void OnSetfocusTwist1Edit();
|
|
afx_msg void OnSetfocusTwist2Edit();
|
|
afx_msg void OnDestroy();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_ROTDIA_HPP__E2A06241_1F76_11D1_95C8_0060973153D4__INCLUDED_)
|
|
|
|
*/
|
|
//ENDANNECY Shaitan Nettoyage }
|