Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

63 lines
1.4 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: DDWnd.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of DDWnd.h
//----------------------------------------------------------------------------
#ifndef __DIRECT__DRAW__WND__H__INCLUDED__
#define __DIRECT__DRAW__WND__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include "GenericWnd.h"
class CDDWnd :
public CWnd
{
public:
CDDWnd();
virtual ~CDDWnd();
public:
//{{AFX_VIRTUAL(CDDWnd)
public:
virtual BOOL DestroyWindow();
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CDDWnd)
afx_msg void OnDevModeChange(LPTSTR lpDeviceName);
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
virtual BOOL Create( CWnd*, int, int, int, int );
virtual void Draw();
protected:
protected:
IDirectDraw7 *m_pDD;
IDirectDrawSurface7 *m_pFrontBuffer;
IDirectDrawSurface7 *m_pBackBuffer;
protected:
virtual void OnDraw( LPDIRECTDRAWSURFACE7 );
virtual void FreeDirectDraw();
virtual BOOL InitDirectDraw();
};
//{{AFX_INSERT_LOCATION}}
#endif