reman3/Rayman_X/cpa/tempgrp/OSC/Inc/SEClEnvs.hpp

109 lines
2.6 KiB
C++

/*=========================================================================
*
* SEClEnvs.hpp : class SECT_DialogEnvList
*
*
* Version 1.0
* Creation date
* Revision date
*
* Shaitan
*=======================================================================*/
/*
#ifndef __SECT_L_ENV_HPP__
#define __SECT_L_ENV_HPP__
#include "SECTres.h"
#include "SECTenv.hpp"
class Sector_Interface;
*/
//#################################################################################
// Environment List
//#################################################################################
/*===========================================================================
* Description: Class for the Environment List
* Creation date:
* Author: Shaitan
*---------------------------------------------------------------------------
* Revision date: Author:
*=========================================================================*/
/*
class SECT_DialogEnvList : public CFormView
{
protected:
// dialog parameters
Sector_Interface *m_pSectorInterface;
CPA_SuperObject *m_pEditedSector;
long m_lEnvElem;
BOOL m_bInitialised;
public:
// standard constructor
SECT_DialogEnvList (CWnd* pParent = NULL);
// Dialog
void fn_vInitDialog (Sector_Interface *pDLL, CWnd *pParent);
void fn_vInitEnvList (CPA_SuperObject *pEditedSector);
void fn_vInitEnvElem (long lEnvElem);
void fn_vUpdateEnvElem (void);
void fn_vInitControls (BOOL bEnable);
void fn_vDrawEnvListItem (int nIDCtl, LPDRAWITEMSTRUCT lpDIS);
protected:
// Dialog Data
//{{AFX_DATA(SECT_DialogEnvList)
enum { IDD = SEC_IDD_DIALOGENVLIST };
// env list
CListBox m_cEnvList;
CButton m_cAddElem;
CButton m_cDelElem;
// apply
CButton m_cApplyAll;
CButton m_cApplySelect;
CButton m_cCancelSelect;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(SECT_DialogEnvList)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(SECT_DialogEnvList)
afx_msg void OnSize(UINT, int, int);
afx_msg void OnDestroy();
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDIS);
// env list
afx_msg void OnSelChangeEnvList();
afx_msg void OnAddElem();
afx_msg void OnDelElem();
// keydown
afx_msg int OnVKeyToItem (UINT, CWnd*, UINT);
// apply
afx_msg void OnApplyAll();
afx_msg void OnApplySelect();
afx_msg void OnCancelSelect();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif //__SECT_L_ENV_HPP__
*/