29 #include "../../idlib/precompiled.h"
32 #include "../../sys/win32/rc/AFEditor_resource.h"
66 EnableToolTips(
TRUE );
83 CDialog::DoDataExchange(pDX);
111 for (
int i = 0;
i < numJoints;
i++ ) {
214 CDialog::OnToolHitTest( point, pTI );
220 ON_NOTIFY_EX_RANGE(TTN_NEEDTEXTW, 0, 0xFFFF, OnToolTipNotify)
221 ON_NOTIFY_EX_RANGE(TTN_NEEDTEXTA, 0, 0xFFFF, OnToolTipNotify)
281 LPNMUPDOWN pNMUpDown =
reinterpret_cast<LPNMUPDOWN
>(pNMHDR);
282 if ( pNMUpDown->iDelta < 0 ) {
303 LPNMUPDOWN pNMUpDown =
reinterpret_cast<LPNMUPDOWN
>(pNMHDR);
304 if ( pNMUpDown->iDelta < 0 ) {
BOOL DefaultOnToolTipNotify(const toolTip_t *toolTips, UINT id, NMHDR *pNMHDR, LRESULT *pResult)
#define IDC_EDIT_SLIDER_AXIS_PITCH
#define IDC_COMBO_SLIDER_AXIS_JOINT2
afx_msg void OnCbnSelchangeComboSliderAxisJoint1()
virtual void AF_UpdateEntities(const char *fileName)
#define IDC_EDIT_SLIDER_AXIS_YAW
int SetSafeComboBoxSelection(CComboBox *combo, const char *string, int skip)
afx_msg void OnDeltaposSpinSliderAxisPitch(NMHDR *pNMHDR, LRESULT *pResult)
CONST PIXELFORMATDESCRIPTOR UINT
void SaveConstraint(void)
static toolTip_t toolTips[]
void LoadFile(idDeclAF *af)
void InitJointLists(void)
const char * GetName(void) const
afx_msg void OnEnChangeEditSliderAxisYaw()
#define IDC_COMBO_SLIDER_AXIS_JOINT1
#define IDC_SPIN_SLIDER_AXIS_YAW
afx_msg void OnEnChangeEditSliderAxisPitch()
virtual const char * GetJointName(jointHandle_t handle) const =0
virtual void DoDataExchange(CDataExchange *pDX)
idAngles ToAngles(void) const
const idVec3 & ToVec3(void) const
void LoadConstraint(idDeclAF_Constraint *c)
idVec3 ToForward(void) const
int DefaultOnToolHitTest(const toolTip_t *toolTips, const CDialog *dialog, CPoint point, TOOLINFO *pTI)
virtual idRenderModel * ANIM_GetModelFromName(const char *modelName)
int UnsetSafeComboBoxSelection(CComboBox *combo, CString &string)
#define IDC_RADIO_SLIDER_AXIS_BONE
afx_msg void OnDeltaposSpinSliderAxisYaw(NMHDR *pNMHDR, LRESULT *pResult)
bool EditControlEnterHit(CEdit *edit)
afx_msg void OnCbnSelchangeComboSliderAxisJoint2()
afx_msg void OnBnClickedRadioSliderAxisAngles()
int GetSafeComboBoxSelection(CComboBox *combo, CString &string, int skip)
void AFDialogSetFileModified(void)
CComboBox m_comboAxisJoint2
#define IDC_SPIN_SLIDER_AXIS_PITCH
#define IDD_DIALOG_AF_CONSTRAINT_SLIDER
idDeclAF_Constraint * constraint
const char * c_str(void) const
enum idAFVector::@48 type
virtual int NumJoints(void) const =0
virtual ~DialogAFConstraintSlider()
virtual int OnToolHitTest(CPoint point, TOOLINFO *pTI) const
afx_msg void OnBnClickedRadioSliderAxisBone()
CComboBox m_comboAxisJoint1
float EditVerifyFloat(CEdit *edit, bool allowNegative)
#define IDC_RADIO_SLIDER_AXIS_ANGLES