reman3/Rayman_X/cpa/public/ITF/devvp2d.hpp

59 lines
1.4 KiB
C++

/*=========================================================================*/
/* DEVVp2D.hpp : Viewport 2D.*/
/* This is a part of the PCA project.*/
/**/
/* Version 1.0*/
/* Creation date 22/07/96*/
/* Revision date*/
/**/
/* (c) Ubi Studios 1996*/
/**/
/* DO NOT MODIFY THAT FILE. IF SOMETHING NEEDS TO BE CHANGE, PLEASE CONTACT */
/* OLIVIER DIDELOT.*/
/*=========================================================================*/
#ifndef __DEVVP2D_HPP__
#define __DEVVP2D_HPP__
/*#include "Tde.h"*/
#include "DEVViewp.hpp"
/****************************************/
#ifndef CPA_EXPORT
#if defined(CPA_WANTS_IMPORT)
#define CPA_EXPORT __declspec(dllimport)
#elif defined(CPA_WANTS_EXPORT)
#define CPA_EXPORT __declspec(dllexport)
#else
#define CPA_EXPORT
#endif
#endif
/****************************************/
class CPA_EXPORT DEV_ViewPort2D : public DEV_ViewPort
{
public:
DEV_ViewPort2D();
virtual ~DEV_ViewPort2D();
void CreateViewPort(void *, GLD_tdhDevice);
#ifdef ACTIVE_EDITOR
void DrawObject(void *p_stObject);
#endif /* ACTIVE_EDITOR*/
protected:
/*{{AFX_MSG(DEV_ViewPort)*/
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
#ifdef ACTIVE_EDITOR
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
#endif /* ACTIVE_EDITOR*/
/*}}AFX_MSG*/
DECLARE_MESSAGE_MAP()
};
#endif /* __DEVVP2D_HPP__*/