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.

35 lines
701 B

  1. /**************************************************************************
  2. *
  3. * Copyright (c) 2000 Microsoft Corporation
  4. *
  5. * Module Name:
  6. *
  7. * Object ancestor
  8. *
  9. * Abstract:
  10. *
  11. * Ancestor class for all drawing objects
  12. *
  13. * Created:
  14. *
  15. * 06/17/2000 asecchia
  16. * Created it.
  17. *
  18. **************************************************************************/
  19. #ifndef _OBJECT_HPP
  20. #define _OBJECT_HPP
  21. #include "precomp.hpp"
  22. class DrawingObject {
  23. public:
  24. DrawingObject() {}
  25. // Tell the object to draw itself on this graphics,
  26. // given a set of dimensions
  27. virtual void Draw(Graphics *g, int x, int y, int width, int height) = 0;
  28. };
  29. #endif