123
This commit is contained in:
41
Editor/CustomColorDialog.h
Normal file
41
Editor/CustomColorDialog.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#if !defined(AFX_CUSTOMCOLORDIALOG_H__E1491910_A0B4_48B3_9556_CB079E1EAC7F__INCLUDED_)
|
||||
#define AFX_CUSTOMCOLORDIALOG_H__E1491910_A0B4_48B3_9556_CB079E1EAC7F__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// CustomColorDialog.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CCustomColorDialog dialog
|
||||
|
||||
class CCustomColorDialog : public CColorDialog
|
||||
{
|
||||
DECLARE_DYNAMIC(CCustomColorDialog)
|
||||
|
||||
public:
|
||||
CCustomColorDialog(COLORREF clrInit = 0, DWORD dwFlags = 0,
|
||||
CWnd* pParentWnd = NULL);
|
||||
~CCustomColorDialog();
|
||||
|
||||
protected:
|
||||
//{{AFX_MSG(CCustomColorDialog)
|
||||
afx_msg void OnPickColor();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
|
||||
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
void PickMode( bool bEnable );
|
||||
|
||||
CButton m_pickColor;
|
||||
bool m_bPickMode;
|
||||
HCURSOR m_pickerCusror;
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_CUSTOMCOLORDIALOG_H__E1491910_A0B4_48B3_9556_CB079E1EAC7F__INCLUDED_)
|
||||
Reference in New Issue
Block a user