Source code of Windows XP (NT5)
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.

35 lines
1006 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: sscommon.hxx
  3. *
  4. * Defines and externals for screen saver common shell
  5. *
  6. * Copyright (c) 1996 Microsoft Corporation
  7. *
  8. \**************************************************************************/
  9. #ifndef __clear_hxx__
  10. #define __clear_hxx__
  11. #include "sscommon.h"
  12. class SS_DIGITAL_DISSOLVE_CLEAR {
  13. public:
  14. SS_DIGITAL_DISSOLVE_CLEAR();
  15. ~SS_DIGITAL_DISSOLVE_CLEAR();
  16. // int Calibrate( int width, int height, int startSize, int fClearTime );
  17. int CalibrateClear( int width, int height, float fClearTime );
  18. BOOL Clear( int width, int height, int size );
  19. BOOL Clear( int width, int height );
  20. private:
  21. BOOL *rectBuf;
  22. int rectBufSize;
  23. int rectSize;
  24. BOOL ValidateBufSize( int nRects );
  25. int RectangleCount( int width, int height, int size );
  26. };
  27. extern void DrawGdiRect( HDC hdc, HBRUSH hbr, RECT *pRect );
  28. extern void ss_GdiRectWipeClear( HWND, int, int);
  29. #endif // __clear_hxx__