2011-09-07 23:06:51 +02:00
|
|
|
// PropsPgs.h : header file
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __PROPSPGS_H__
|
|
|
|
#define __PROPSPGS_H__
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CPropertiesGeneral dialog
|
|
|
|
|
|
|
|
class CPropertiesGeneral : public CPropertyPage
|
|
|
|
{
|
|
|
|
DECLARE_DYNCREATE(CPropertiesGeneral)
|
|
|
|
|
|
|
|
// Construction
|
|
|
|
public:
|
|
|
|
CString m_strFilename;
|
|
|
|
CPropertiesGeneral();
|
|
|
|
~CPropertiesGeneral();
|
|
|
|
|
|
|
|
// Dialog Data
|
|
|
|
//{{AFX_DATA(CPropertiesGeneral)
|
|
|
|
enum { IDD = IDD_PROPGENERAL };
|
|
|
|
// NOTE - ClassWizard will add data members here.
|
|
|
|
// DO NOT EDIT what you see in these blocks of generated code !
|
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generate virtual function overrides
|
|
|
|
//{{AFX_VIRTUAL(CPropertiesGeneral)
|
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
|
|
//{{AFX_MSG(CPropertiesGeneral)
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CPropertiesSummary dialog
|
|
|
|
|
|
|
|
class CPropertiesSummary : public CPropertyPage
|
|
|
|
{
|
|
|
|
DECLARE_DYNCREATE(CPropertiesSummary)
|
|
|
|
|
|
|
|
// Construction
|
|
|
|
public:
|
|
|
|
CPropertiesSummary();
|
|
|
|
~CPropertiesSummary();
|
|
|
|
|
|
|
|
// Dialog Data
|
|
|
|
//{{AFX_DATA(CPropertiesSummary)
|
|
|
|
enum { IDD = IDD_PROPSUMMARY };
|
|
|
|
CString m_strAuthor;
|
|
|
|
CString m_strComments;
|
|
|
|
CString m_strDescription;
|
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generate virtual function overrides
|
|
|
|
//{{AFX_VIRTUAL(CPropertiesSummary)
|
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
|
|
//{{AFX_MSG(CPropertiesSummary)
|
|
|
|
// NOTE: the ClassWizard will add member functions here
|
|
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CPropertiesPieces dialog
|
|
|
|
|
|
|
|
class CPropertiesPieces : public CPropertyPage
|
|
|
|
{
|
|
|
|
DECLARE_DYNCREATE(CPropertiesPieces)
|
|
|
|
|
|
|
|
// Construction
|
|
|
|
public:
|
|
|
|
CPropertiesPieces();
|
|
|
|
~CPropertiesPieces();
|
2012-04-21 01:27:12 +02:00
|
|
|
const char** mPieceNames;
|
|
|
|
int mNumPieces;
|
|
|
|
int* mPieceColorCount;
|
|
|
|
int mNumColors;
|
|
|
|
int* mColorColumn;
|
2011-09-07 23:06:51 +02:00
|
|
|
|
|
|
|
// Dialog Data
|
|
|
|
//{{AFX_DATA(CPropertiesPieces)
|
|
|
|
enum { IDD = IDD_PROPPIECES };
|
|
|
|
CListCtrl m_List;
|
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generate virtual function overrides
|
|
|
|
//{{AFX_VIRTUAL(CPropertiesPieces)
|
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
|
|
//{{AFX_MSG(CPropertiesPieces)
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
afx_msg void OnColumnclickPropPiecesList(NMHDR* pNMHDR, LRESULT* pResult);
|
|
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __PROPSPGS_H__
|