home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / µSim 1.1 / FabLibsƒ / ZoomCode.h < prev   
Encoding:
C/C++ Source or Header  |  1997-04-11  |  525 b   |  15 lines  |  [TEXT/CWIE]

  1. #pragma internal on
  2. struct ZoomData {
  3.     GDHandle        screenWithLargestPartOfWindow;
  4.     UInt32            largestArea;
  5.     Rect            windowBounds;
  6. };
  7. typedef struct ZoomData ZoomData, *ZoomDataPtr;
  8.  
  9. typedef void (*CalcIdealDocumentSizeProcPtr)(WindowPtr theWindow, Rect * const idealContentSize);
  10.  
  11. void ZoomTheWindow(WindowPeek theWindow, short zoomState,
  12.                     CalcIdealDocumentSizeProcPtr calcRoutine, CalcIdealDocumentSizeProcPtr post);
  13. GDHandle GetParentScreenRect(WindowPeek w, ZoomDataPtr zd, Rect * const screenRect);
  14. #pragma internal reset
  15.