home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 09 - 1993 / 09.09 Sep 93 / Programmer's Challenge / TileStackWindows.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-11  |  830 b   |  29 lines  |  [TEXT/KAHL]

  1. /*****************************************************
  2.  * TileStackWindowsWindows.h
  3.  ****************************************************/
  4.  
  5. /*****************************************************
  6.  * typedefs
  7.  ****************************************************/
  8.  
  9. typedef struct WindowElement {
  10.     WindowPeek        theWindowPtr;
  11.     GDHandle        theDevHndl;
  12. } WindowElement, *WindowElementPtr;
  13.  
  14. typedef Boolean (*TileStackWindowsProc)
  15.     (Rect *enclosingRectPtr,
  16.     WindowElementPtr p, int wCount);
  17.     
  18.     
  19. /*****************************************************
  20.  * prototypes
  21.  ****************************************************/
  22.  
  23. void    TileStackWindows(TileStackWindowsProc
  24.                 theTileStackProc);
  25. Boolean MyMoveWindow(WindowPtr w, int leftGlobal,
  26.                 int topGlobal, Boolean sizeChanged);
  27. Boolean MySizeWindow(WindowPtr w, int width,
  28.                 int height);
  29.