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.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 24/03/2000
// Last modification: 08/10/2003
// Project Intruder Position Indicator
// SUBSYSTEM: Video Camera Showing Window
// FILE: VideoWnd.h
// AUTHOR: Chizhevskiy Sergey
// OVERVIEW
// ~~~~~~~~
// Header file for class CVideoWnd
//----------------------------------------------------------------------------
#ifndef __VIDEOWND__H__INCLUDED__
#define __VIDEOWND__H__INCLUDED__
#include "Structs.h"
#include "GenericWnd.h"
#include "..\lglib\Remote\LgRemoteInterface.h"
#define DESCRIPTION_SIZE 200
#ifndef PALETTE_ENTRIES
#define PALETTE_ENTRIES 256
#endif
#ifndef WIDTHBYTES
#define WIDTHBYTES(bits) (((bits + 31) >> 5) << 2)
#endif
#include "Profile.h"
class CApplication;
class CVideoWnd : public CGenericWnd, public CLgRemoteInterfaceVideo{public: CVideoWnd(); virtual ~CVideoWnd();
public: virtual BOOL Create( BOOL bStretchVideo, HWND hParentWnd, INT x, INT y, INT cx, INT cy, CProfile *pProfile ); virtual HBITMAP GetSnapshot() = 0;
public: virtual HBITMAP StoreImage( HANDLE, LPCTSTR, INT nWidth, INT nHeight, INT nBitCount ) = 0; virtual HBITMAP StoreImage( LPBYTE, LPCTSTR, INT nWidth, INT nHeight, INT nBitCount ) = 0;
protected: virtual void DrawText8( LPBITMAPINFO, LPBYTE, LPCTSTR ); virtual void DrawText24( LPBITMAPINFO, LPBYTE, LPCTSTR );
protected: BOOL m_bStretchVideo;
protected: CProfile *m_pProfile;
private: static BYTE s_pNumbers[];};
#endif
|