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.
47 lines
1.1 KiB
47 lines
1.1 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 27/03/2000
|
|
// Last modification: 02/06/2001
|
|
// Project Intruder Position Indicator
|
|
// SUBSYSTEM: LGS rotation indicator
|
|
// FILE: Indicator.h
|
|
// AUTHOR: Chizhevskiy Sergey
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of class CIndicator
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef __INDICATOR__H__INCLUDED__
|
|
#define __INDICATOR__H__INCLUDED__
|
|
|
|
class CIndicator {
|
|
|
|
public:
|
|
CIndicator();
|
|
~CIndicator();
|
|
|
|
public:
|
|
BOOL Create(HWND hParent, LPPOINT pPoint, INT nRadius, INT nMaxSteps);
|
|
void Step(INT nStep);
|
|
HWND GetSafeHwnd() { return m_hWnd; }
|
|
|
|
private:
|
|
void CreateBitmaps(HDC hDC);
|
|
|
|
private:
|
|
HBITMAP *m_phBitmaps;
|
|
HBITMAP *m_phOldBitmaps;
|
|
HBITMAP m_hBitmap;
|
|
HBITMAP m_hBitmapNC;
|
|
HBITMAP m_hOldBitmapNC;
|
|
HWND m_hWnd;
|
|
HDC m_hMemDCNC;
|
|
HDC *m_phMemDCs;
|
|
INT m_Radius;
|
|
INT m_MaxSteps;
|
|
HDC m_hMemDC;
|
|
|
|
};
|
|
|
|
#endif
|