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.
 
 
 
 
 

46 lines
1.1 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 26/06/2001
// PROJECT:
// SUBSYSTEM:
// FILE: DirectDrawWnd.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of DirectDrawWnd.h
//----------------------------------------------------------------------------
#ifndef __DIRECTDRAW__WND__H__INCLUDED__
#define __DIRECTDRAW__WND__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include "Wnd.h"
class CDirectDrawWnd : public CWnd
{
public:
CDirectDrawWnd();
virtual ~CDirectDrawWnd();
public:
BOOL Create( HWND, int, int, int, int );
protected:
LPDIRECTDRAW7 m_pDD;
LPDIRECTDRAWSURFACE7 m_pFrontBuffer;
LPDIRECTDRAWSURFACE7 m_pBackBuffer;
protected:
virtual void OnDraw( LPDIRECTDRAWSURFACE7 );
virtual void Draw();
virtual void FreeDirectDraw();
virtual BOOL InitDirectDraw();
virtual LRESULT OnDestroy();
};
#endif