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.
39 lines
929 B
39 lines
929 B
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 23/04/2001
|
|
// Last modification: 08/10/2003
|
|
// Project Intruder Position Indicator
|
|
// SUBSYSTEM: Spinner
|
|
// FILE: Spinner.h
|
|
// AUTHOR: Belkovsky Joseph
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file for definition of class Spinner
|
|
//----------------------------------------------------------------------------
|
|
|
|
|
|
#if !defined(__spinner_h_guard__)
|
|
#define __spinner_h_guard__
|
|
|
|
class Spinner {
|
|
public:
|
|
Spinner(HWND, WORD);
|
|
~Spinner();
|
|
|
|
void SetStudyMode( BOOL bStudyMode ) { m_bStudyMode = bStudyMode; }
|
|
|
|
HICON step(__int8 = STEPS) const;
|
|
|
|
private:
|
|
enum { STEPS = 8 };
|
|
|
|
private:
|
|
const HWND hwnd_;
|
|
HICON hicons_[ STEPS * 2 + 1 ];
|
|
|
|
private:
|
|
BOOL m_bStudyMode;
|
|
};
|
|
|
|
#endif // spinner
|