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.

39 lines
929 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 23/04/2001
  5. // Last modification: 08/10/2003
  6. // Project Intruder Position Indicator
  7. // SUBSYSTEM: Spinner
  8. // FILE: Spinner.h
  9. // AUTHOR: Belkovsky Joseph
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file for definition of class Spinner
  13. //----------------------------------------------------------------------------
  14. #if !defined(__spinner_h_guard__)
  15. #define __spinner_h_guard__
  16. class Spinner {
  17. public:
  18. Spinner(HWND, WORD);
  19. ~Spinner();
  20. void SetStudyMode( BOOL bStudyMode ) { m_bStudyMode = bStudyMode; }
  21. HICON step(__int8 = STEPS) const;
  22. private:
  23. enum { STEPS = 8 };
  24. private:
  25. const HWND hwnd_;
  26. HICON hicons_[ STEPS * 2 + 1 ];
  27. private:
  28. BOOL m_bStudyMode;
  29. };
  30. #endif // spinner