DragonNest/Client/EtWorldPainter/TriggerAttributePaneView.h
2024-12-19 09:48:26 +08:00

45 lines
1.2 KiB
C++

#pragma once
// CTriggerAttributePaneView form view
#include "PropertyGridCreator.h"
class CEtTriggerObject;
class CTriggerAttributePaneView : public CFormView, public CPropertyGridImp
{
DECLARE_DYNCREATE(CTriggerAttributePaneView)
protected:
CTriggerAttributePaneView(); // protected constructor used by dynamic creation
virtual ~CTriggerAttributePaneView();
public:
enum { IDD = IDD_TRIGGERATTRIBUTEPANEVIEW };
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
bool m_bActivate;
CEtTriggerObject *m_pTriggerObj;
public:
virtual void OnSetValue( CUnionValueProperty *pVariable, DWORD dwIndex );
virtual void OnChangeValue( CUnionValueProperty *pVariable, DWORD dwIndex );
virtual void OnSelectChangeValue( CUnionValueProperty *pVariable, DWORD dwIndex );
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
virtual void OnInitialUpdate();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg LRESULT OnRefresh( WPARAM wParam, LPARAM lParam );
afx_msg LRESULT OnGridNotify(WPARAM, LPARAM);
};