home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 August: Tool Chest / Apple_Developer_Group_August_1996_Tool_Chest.iso / Sample Code / Interapplication Communication / MenuScripter 3.1 / Sources / MSWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-20  |  1.3 KB  |  58 lines  |  [TEXT/MPS ]

  1. /*
  2.     MSWindow.h
  3.     
  4.     Version 3.1
  5.     
  6.     Copyright © 1995 Apple Computer, Inc., all rights reserved.
  7.     
  8.     MenuScripter by Nigel Humphreys and Jon Lansdell
  9.     AppleEvent to script extensions by Greg Sutton
  10. */
  11.  
  12. #ifndef __MSWINDOW__
  13. #define __MSWINDOW__
  14.  
  15. #include <Memory.h>
  16. #include <Types.h>
  17. #include <Quickdraw.h>
  18. #include <Fonts.h>
  19. #include <ToolUtils.h>
  20. #include <Traps.h>
  21. #include "MSGlobals.h"
  22. #include "MSUtils.h"
  23. #include "MSAppleEvents.h"
  24.  
  25. pascal DPtr DPtrFromWindowPtr(WindowPtr w);
  26.  
  27. pascal void MyGrowWindow(WindowPtr w,
  28.                          Point     p);
  29.  
  30. pascal void DoZoom(WindowPtr w, short c, Point p);
  31.  
  32. pascal void DoContent(WindowPtr theWindow, EventRecord theEvent);
  33.  
  34. pascal OSErr DoActivate(WindowPtr theWindow, Boolean   activate);
  35.  
  36. pascal void DoUpdate(DPtr theDoc);
  37.  
  38. pascal DPtr NewDocument(Boolean isForOldDoc);
  39.  
  40. pascal void CloseMyWindow(WindowPtr aWindow);
  41.  
  42. pascal void ShowSelect(DPtr theDoc);
  43.  
  44. pascal void AdjustScrollbars(DPtr theDoc, Boolean needsResize);
  45.                                                      
  46. pascal void GetWinContentRect(WindowPtr theWindow, Rect *r);
  47.  
  48. pascal void ResizeWindow(DPtr theDoc);
  49.  
  50. pascal void ResizePageSetupForDocument(DPtr theDoc);
  51.  
  52. pascal void InvalidateDocument(DPtr theDoc);
  53.  
  54. pascal void DrawPageExtras(DPtr theDoc);
  55.  
  56. pascal void PrintWindow(DPtr theDoc, Boolean askUser);
  57.  
  58. #endif