Add rayman2 source files
This commit is contained in:
95
Rayman_X/cpa/tempgrp/Ctl/Inc/Dialogs/CTL_DgA.hpp
Normal file
95
Rayman_X/cpa/tempgrp/Ctl/Inc/Dialogs/CTL_DgA.hpp
Normal file
@@ -0,0 +1,95 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CTL_DialogArrayDataEdition dialog
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _ED_ACTORS_DIALOG_ARRAY_DATA_EDITION_
|
||||
#define _ED_ACTORS_DIALOG_ARRAY_DATA_EDITION_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "CTL_Res.h"
|
||||
#include <afxtempl.h>
|
||||
|
||||
#include "Controls\Ctl_LCtl.hpp"
|
||||
#include "Data\Ctl_LDat.hpp"
|
||||
|
||||
class CTL_Editor_ArrayControl;
|
||||
class CTL_Editor_BaseFormView;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CTL_DialogArrayDataEdition dialog
|
||||
|
||||
class CTL_DialogArrayDataEdition : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
// standard constructor
|
||||
CTL_DialogArrayDataEdition( CTL_Editor_ArrayControl *_pclParentControl,
|
||||
CWnd* _pParent = NULL);
|
||||
|
||||
~CTL_DialogArrayDataEdition();
|
||||
|
||||
void m_fn_vUpdateColors ();
|
||||
|
||||
void m_fn_vSetSelectedControl (CTL_Editor_Control *pclCtrl) {m_pclSelectedControl = pclCtrl;};
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CTL_DialogArrayDataEdition)
|
||||
enum { IDD = IDD_CAR_D_EDIT_ARRAY_DATA };
|
||||
CString m_csDataName;
|
||||
//}}AFX_DATA
|
||||
|
||||
private:
|
||||
//functions
|
||||
void m_fn_vCleanup (void) {}; // the lists are cleaned by themselves :-)
|
||||
|
||||
void m_fn_vCreateElementControl (tdstArray *pstArray, int i);
|
||||
|
||||
int m_fn_lGetIndexOfControl (CTL_Editor_Control *pclSeekCtrl);
|
||||
|
||||
void m_fn_vResize ();
|
||||
void m_fn_vUpdateView ();
|
||||
|
||||
//members
|
||||
HINSTANCE hOldInstance;
|
||||
|
||||
CTL_Editor_ArrayControl *m_pclParentControl;
|
||||
|
||||
CTL_Editor_ControlList m_clControlList;
|
||||
CTL_Editor_DataList m_clDataList;
|
||||
|
||||
CFrameWnd *m_pclFrameControl;
|
||||
CTL_Editor_BaseFormView *m_pclView;
|
||||
|
||||
tdstArray m_stSavedArray;
|
||||
|
||||
CTL_Editor_Control *m_pclSelectedControl;
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CTL_DialogArrayDataEdition)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CTL_DialogArrayDataEdition)
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual void OnCancel();
|
||||
virtual void OnOK();
|
||||
afx_msg void OnSize(UINT nType, int cx, int cy);
|
||||
afx_msg void OnButtonInsert();
|
||||
afx_msg void OnButtonDelete();
|
||||
afx_msg void OnButtonUp();
|
||||
afx_msg void OnButtonDown();
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
#endif // _ED_ACTORS_DIALOG_ARRAY_DATA_EDITION_
|
85
Rayman_X/cpa/tempgrp/Ctl/Inc/Dialogs/CTL_DgME.hpp
Normal file
85
Rayman_X/cpa/tempgrp/Ctl/Inc/Dialogs/CTL_DgME.hpp
Normal file
@@ -0,0 +1,85 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CTL_DialogMaskedDataEdition dialog
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _ED_ACTORS_DIALOG_MASKED_DATA_EDITION_
|
||||
#define _ED_ACTORS_DIALOG_MASKED_DATA_EDITION_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include "CTL_Res.h"
|
||||
#include <afxtempl.h>
|
||||
|
||||
class CTL_Editor_Control;
|
||||
class CTL_Editor_MaskDescriptor;
|
||||
class CTL_Editor_Mask;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CTL_DialogMaskedDataEdition dialog
|
||||
|
||||
class CTL_DialogMaskedDataEdition : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
// standard constructor
|
||||
CTL_DialogMaskedDataEdition( CTL_Editor_Control *_pclParentControl,
|
||||
CWnd* _pParent = NULL);
|
||||
|
||||
~CTL_DialogMaskedDataEdition();
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CTL_DialogMaskedDataEdition)
|
||||
enum { IDD = IDD_CAR_D_EDIT_MASKED_DATA };
|
||||
CString m_csDataName;
|
||||
//}}AFX_DATA
|
||||
|
||||
private:
|
||||
|
||||
HINSTANCE hOldInstance;
|
||||
|
||||
CTL_Editor_Control *m_pri_pclParentControl;
|
||||
CTL_Editor_MaskDescriptor *m_pri_pclMaskDescriptor;
|
||||
|
||||
struct m_pri_stMaskInListBox
|
||||
{
|
||||
CButton *st_m_pclButton;
|
||||
CTL_Editor_Mask *st_m_Mask;
|
||||
BOOL st_m_MaskIsOn;
|
||||
};
|
||||
|
||||
CList<struct m_pri_stMaskInListBox *, struct m_pri_stMaskInListBox *> m_clListOfMasksInListBox;
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CTL_DialogMaskedDataEdition)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
private:
|
||||
BOOL m_pri_fn_bDataHasThisMask(unsigned long _ulMaskValue);
|
||||
void m_pri_fn_vSetDataWithMask(unsigned long _ulMaskValue, BOOL _bMaskOn);
|
||||
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CTL_DialogMaskedDataEdition)
|
||||
virtual void OnOK();
|
||||
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnButtonAllMasks();
|
||||
afx_msg void OnButtonNoMask();
|
||||
afx_msg void OnButtonInvertMasks();
|
||||
afx_msg void OnDestroy();
|
||||
virtual void OnCancel();
|
||||
//}}AFX_MSG
|
||||
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
#endif // _ED_ACTORS_DIALOG_MASKED_DATA_EDITION_
|
62
Rayman_X/cpa/tempgrp/Ctl/Inc/Dialogs/CTL_aevw.hpp
Normal file
62
Rayman_X/cpa/tempgrp/Ctl/Inc/Dialogs/CTL_aevw.hpp
Normal file
@@ -0,0 +1,62 @@
|
||||
#if !defined(AFX_ARRAYELEMENTSVIEW_H__71BABD8C_7ADF_11D2_8745_00A0245476ED__INCLUDED_)
|
||||
#define AFX_ARRAYELEMENTSVIEW_H__71BABD8C_7ADF_11D2_8745_00A0245476ED__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
// ArrayElementsView.h : header file
|
||||
//
|
||||
|
||||
#include "CTL_Res.h"
|
||||
#include <afxtempl.h>
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CArrayElementsView form view
|
||||
|
||||
class CArrayElementsView : public CTL_Editor_BaseFormView
|
||||
{
|
||||
protected:
|
||||
CArrayElementsView(); // protected constructor used by dynamic creation
|
||||
DECLARE_DYNCREATE(CArrayElementsView)
|
||||
|
||||
// Form Data
|
||||
public:
|
||||
//{{AFX_DATA(CArrayElementsView)
|
||||
enum { IDD = IDD_ARRAY_ELEMENTS_VIEW };
|
||||
// NOTE: the ClassWizard will add data members here
|
||||
//}}AFX_DATA
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CArrayElementsView)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
virtual ~CArrayElementsView();
|
||||
#ifdef _DEBUG
|
||||
virtual void AssertValid() const;
|
||||
virtual void Dump(CDumpContext& dc) const;
|
||||
#endif
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CArrayElementsView)
|
||||
// NOTE - the ClassWizard will add and remove member functions here.
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_ARRAYELEMENTSVIEW_H__71BABD8C_7ADF_11D2_8745_00A0245476ED__INCLUDED_)
|
Reference in New Issue
Block a user