home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Development Tools / Sample Applications / MenuScripter 1.0d4.1 / MenuScripter Source / MSWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-24  |  1.3 KB  |  61 lines  |  [TEXT/MPS ]

  1. /*
  2.     MSWindow.h
  3.     
  4.     Version 1.0d4
  5.     
  6.     Copyright © Apple Computer UK Ltd. 1992
  7.     
  8.     All rights reserved.
  9.     
  10.     Produced by : UK Developer Technical Support
  11.     AppleLink   : UK.DTS
  12. */
  13.  
  14. #ifndef __MSWINDOW__
  15. #define __MSWINDOW__
  16.  
  17. #include <Memory.h>
  18. #include <Types.h>
  19. #include <QuickDraw.h>
  20. #include <Fonts.h>
  21. #include <ToolUtils.h>
  22. #include <Traps.h>
  23. #include "MSGlobals.h"
  24. #include "MSUtils.h"
  25. #include "MSEditions.h"
  26. #include "MSAppleEvents.h"
  27.  
  28. pascal DPtr DPtrFromWindowPtr(WindowPtr w);
  29.  
  30. pascal void MyGrowWindow(WindowPtr w,
  31.                          Point     p);
  32.  
  33. pascal void DoZoom(WindowPtr w, short c, Point p);
  34.  
  35. pascal void DoContent(WindowPtr theWindow, EventRecord theEvent);
  36.  
  37. pascal OSErr DoActivate(WindowPtr theWindow, Boolean   activate);
  38.  
  39. pascal void DoUpdate(DPtr theDoc);
  40.  
  41. pascal DPtr NewDocument(Boolean isForOldDoc);
  42.  
  43. pascal void CloseMyWindow(WindowPtr aWindow);
  44.  
  45. pascal void ShowSelect(DPtr theDoc);
  46.  
  47. pascal void AdjustScrollbars(DPtr theDoc, Boolean needsResize);
  48.                                                      
  49. pascal void GetWinContentRect(WindowPtr theWindow, Rect *r);
  50.  
  51. pascal void ResizeWindow(DPtr theDoc);
  52.  
  53. pascal void ResizePageSetupForDocument(DPtr theDoc);
  54.  
  55. pascal void InvalidateDocument(DPtr theDoc);
  56.  
  57. pascal void DrawPageExtras(DPtr theDoc);
  58.  
  59. pascal void PrintWindow(DPtr theDoc, Boolean askUser);
  60.  
  61. #endif