home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / Puppeteer1.1 / Source / WindowInfo.h < prev    next >
Encoding:
Text File  |  1994-03-23  |  662 b   |  35 lines

  1. /*
  2.  * Puppeteer 1.1
  3.  *
  4.  * Copyright (c) 1994 Primitive Software Ltd.  All rights reserved.
  5.  *
  6.  * Author: Dave Griffiths <dave@prim.demon.co.uk>
  7.  */
  8.  
  9. #import <appkit/appkit.h>
  10.  
  11. @interface WindowInfo:Object
  12. {
  13.     int    localWindowNumber;
  14.     int    globalWindowNumber;
  15. }
  16.  
  17. - initLocalNumber:(int)localNumber globalNumber:(int)globalNumber;
  18. /*
  19.  * Return the window's frame.
  20.  */
  21. - getFrame:(NXRect *)frame;
  22. /*
  23.  * The following two methods return the local and global postscript window numbers
  24.  * respectively.
  25.  */
  26. - (int)localWindowNumber;
  27. - (int)globalWindowNumber;
  28. /*
  29.  * Returns an NXImage containing the window's contents.
  30.  */
  31. - windowImage;
  32. - copyWindowToImage:image;
  33.  
  34. @end
  35.