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.

41 lines
900 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: CHWND.cpp
  3. *
  4. * This file contains the code to support the functionality test harness
  5. * for GDI+. This includes menu options and calling the appropriate
  6. * functions for execution.
  7. *
  8. * Created: 05-May-2000 - Jeff Vezina [t-jfvez]
  9. *
  10. * Copyright (c) 2000 Microsoft Corporation
  11. *
  12. \**************************************************************************/
  13. #include "CHWND.h"
  14. #include "CFuncTest.h"
  15. #include "CHalftone.h"
  16. extern CFuncTest g_FuncTest;
  17. extern CHalftone g_Halftone;
  18. CHWND::CHWND(BOOL bRegression)
  19. {
  20. strcpy(m_szName,"HWND");
  21. m_bRegression=bRegression;
  22. }
  23. CHWND::~CHWND()
  24. {
  25. }
  26. Graphics *CHWND::PreDraw(int &nOffsetX,int &nOffsetY)
  27. {
  28. Graphics *g=NULL;
  29. g=Graphics::FromHWND(g_FuncTest.m_hWndMain);
  30. return g;
  31. }
  32. void CHWND::PostDraw(RECT rTestArea)
  33. {
  34. }