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.

46 lines
1.1 KiB

  1. //
  2. // PAGE.HPP
  3. // Page Class
  4. //
  5. // Copyright Microsoft 1998-
  6. //
  7. #ifndef __PAGE_HPP_
  8. #define __PAGE_HPP_
  9. //
  10. // Purpose: Handler for page of graphic objects
  11. //
  12. class T126Obj;
  13. class WorkspaceObj;
  14. //
  15. // Retrieving object data
  16. //
  17. T126Obj* PG_First(WorkspaceObj * pWorkSpc, LPCRECT lprcUpdate=NULL, BOOL bCheckReallyHit=FALSE);
  18. T126Obj* PG_Next(WorkspaceObj * pWorkSpc, WBPOSITION& pos, LPCRECT lprcUpdate=NULL, BOOL bCheckReallyHit=FALSE);
  19. T126Obj* PG_SelectLast(WorkspaceObj * pWorkSpc,POINT point);
  20. T126Obj* PG_SelectPrevious(WorkspaceObj* pWorkspace,WBPOSITION& pos,POINT point);
  21. //
  22. // Draw the entire contents of the page into the device context
  23. // specified.
  24. //
  25. void PG_Draw(WorkspaceObj* pWorkspace, HDC hDC);
  26. //
  27. // Print an area of the page to the specified DC
  28. //
  29. void PG_Print(WorkspaceObj* pWorkspace, HDC hdcPrinter, LPCRECT lprcArea);
  30. //
  31. // Return the palette to be used for displaying the page
  32. //
  33. HPALETTE PG_GetPalette(void);
  34. void PG_InitializePalettes(void);
  35. void PG_ReinitPalettes(void);
  36. #endif // __PAGE_HPP_