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.

27 lines
860 B

  1. // bkgd.h
  2. //
  3. // include file for BKGD.C and BKGDUTIL.C
  4. //
  5. // Frosting: Master Theme Selector for Windows '95
  6. // Copyright (c) 1994-1999 Microsoft Corporation. All rights reserved.
  7. // globals
  8. int dxPreview, dyPreview;
  9. #define CXYDESKPATTERN 8
  10. extern HBITMAP g_hbmPreview; // the bitmap used for previewing
  11. extern HDC g_hdcMem; // memory dc mostly used for preview bmp
  12. extern HBITMAP g_hbmWall; // bitmap image of wallpaper
  13. extern HDC g_hdcWall; // memory DC with g_hbmWall selected
  14. extern HPALETTE g_hpalWall; // palette that goes with hbmWall bitmap
  15. extern HBRUSH g_hbrBack; // brush for the desktop background
  16. extern HBITMAP g_hbmDefault;
  17. // BKGDUTIL.C
  18. HPALETTE FAR PaletteFromDS(HDC hdc);
  19. void FAR PASCAL TranslatePattern(LPTSTR lpStr, WORD FAR *patbits);