Leaked source code of windows server 2003
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.

33 lines
1013 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: clear.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. class SS_DIGITAL_DISSOLVE_CLEAR {
  12. public:
  13. SS_DIGITAL_DISSOLVE_CLEAR();
  14. ~SS_DIGITAL_DISSOLVE_CLEAR();
  15. // int Calibrate( int width, int height, int startSize, int fClearTime );
  16. int CalibrateClear( int width, int height, float fClearTime );
  17. BOOL Clear( int width, int height, int size );
  18. BOOL Clear( int width, int height );
  19. private:
  20. BOOL *rectBuf;
  21. int rectBufSize;
  22. int rectSize;
  23. BOOL ValidateBufSize( int nRects );
  24. int RectangleCount( int width, int height, int size );
  25. };
  26. extern void DrawGdiRect( HDC hdc, HBRUSH hbr, RECT *pRect );
  27. extern void ss_GdiRectWipeClear( HWND, int, int);
  28. #endif // __clear_hxx__