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

128 lines
3.4 KiB
C++

/*=========================================================================
*
* SEClSrfs.hpp : class SECT_DialogSrf
*
*
* Version 1.0
* Creation date
* Revision date
*
* Shaitan
*=======================================================================*/
/*
#ifndef __SECT_D_SRF_HPP__
#define __SECT_D_SRF_HPP__
#include "SECTres.h"
#include "SECTenv.hpp"
class Sector_Interface;
*/
//#################################################################################
// Surfaces
//#################################################################################
/*===========================================================================
* Description: Class for the Surface List Box
* Creation date:
* Author: Shaitan
*---------------------------------------------------------------------------
* Revision date: Author:
*=========================================================================*/
/*
class SECT_SrfElemListBox : public SECT_EnvListBox
{
public:
SECT_SrfElemListBox (void);
~SECT_SrfElemListBox (void);
BOOL fn_bIsCurrentElement (CPA_BaseObject *pElem);
BOOL fn_bIsSelectedElement (CPA_BaseObject *pElem);
BOOL fn_bIsAlreadyUsed (CPA_BaseObject *pElem);
};
*/
/*===========================================================================
* Description: Class for the Environment Element
* Creation date:
* Author: Shaitan
*---------------------------------------------------------------------------
* Revision date: Author:
*=========================================================================*/
/*
class SECT_DialogSrf : public CFormView
{
protected:
// dialog parameters
Sector_Interface *m_pSectorInterface;
SECT_SurfElem *m_pSurfElem;
SECT_Surface *m_pSurface;
BOOL m_bViewSurface;
BOOL m_bInitialised;
long m_lEnvElem;
public:
// standard constructor
SECT_DialogSrf (CWnd* pParent = NULL);
// Dialog
void fn_vInitDialog (Sector_Interface *pDLL, CWnd *pParent);
void fn_vReinitDialog (void);
void fn_vInitSurfListBox (void);
void fn_vInitEnvElem (long lEnvElem);
void fn_vSelectSurf (SECT_Surface *pSurface, BOOL bUpdateSurfElem = TRUE);
void fn_vInitControls (BOOL bEnable);
// Get Functions
SECT_SurfElem * GetCurrentSurfElem (void) { return m_pSurfElem; }
SECT_Surface * GetSelectedSurface (void) { return m_pSurface; }
protected:
// Dialog Data
//{{AFX_DATA(SECT_DialogSrf)
enum { IDD = SEC_IDD_DIALOGSRF };
// surf elem
SECT_SrfElemListBox m_cSurfListBox;
CButton m_cViewSurf;
CEdit m_cSurfHeight;
// default
CButton m_cDefault;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(SECT_DialogSrf)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(SECT_DialogSrf)
afx_msg void OnSize(UINT, int, int);
afx_msg void OnDestroy();
// surf elem
afx_msg void OnSelChangeSurfListBox(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblClkSurfListBox(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeHeight();
afx_msg void OnViewSurf();
// default
afx_msg void OnDefault();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif //__SECT_D_SRF_HPP__
*/