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

45 lines
1.1 KiB
C++

#pragma once
#include "PropertyGridCreator.h"
// CRenderOptionPaneView form view
class CRenderOptionPaneView : public CFormView, public CPropertyGridImp
{
DECLARE_DYNCREATE(CRenderOptionPaneView)
protected:
CRenderOptionPaneView(); // protected constructor used by dynamic creation
virtual ~CRenderOptionPaneView();
public:
enum { IDD = IDD_RENDEROPTIONPANEVIEW };
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
bool m_bActivate;
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);
};