home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / TextEditor / source / WindowStuff.h < prev   
Encoding:
C/C++ Source or Header  |  1994-02-08  |  1.8 KB  |  67 lines  |  [TEXT/KAHL]

  1. /* WindowStuff.h */
  2.  
  3. #ifndef Included_WindowStuff_h
  4. #define Included_WindowStuff_h
  5.  
  6. /* WindowStuff module depends on */
  7. /* MiscInfo.h */
  8. /* Debug */
  9. /* Audit */
  10. /* Definitions */
  11. /* Screen */
  12. /* EventLoop */
  13. /* WindowDispatcher */
  14. /* TextEdit */
  15. /* Files */
  16. /* Array */
  17. /* Memory */
  18. /* Alert */
  19. /* Menus */
  20. /* DataMunging */
  21. /* Main */
  22. /* GrowIcon */
  23. /* Numbers */
  24. /* NumberDialog */
  25. /* FindDialog */
  26. /* StringDialog */
  27.  
  28. #include "Screen.h"
  29. #include "EventLoop.h"
  30.  
  31. struct MyWinRec;
  32. typedef struct MyWinRec MyWinRec;
  33.  
  34. /* forward declarations */
  35. struct MenuItemType;
  36. struct FileSpec;
  37.  
  38. MyBoolean                        InitWindowStuff(void);
  39. void                                KillWindowStuff(void);
  40.  
  41. MyWinRec*                        OpenDocument(struct FileSpec* Where);
  42. MyBoolean                        CloseDocument(MyWinRec* Window);
  43. MyBoolean                        DoCloseAllQuitPending(void);
  44. MyBoolean                        Save(MyWinRec* Window);
  45. MyBoolean                        SaveAs(MyWinRec* Window);
  46. char*                                GetProperStaticLineFeed(MyWinRec* Window);
  47.  
  48. void                                WindowDoIdle(MyWinRec* Window, MyBoolean CheckCursorFlag,
  49.                                             OrdType XLoc, OrdType YLoc, ModifierFlags Modifiers);
  50. void                                WindowBecomeActive(MyWinRec* Window);
  51. void                                WindowBecomeInactive(MyWinRec* Window);
  52. void                                WindowResized(MyWinRec* Window);
  53. void                                WindowDoMouseDown(OrdType XLoc, OrdType YLoc,
  54.                                             ModifierFlags Modifiers, MyWinRec* Window);
  55. void                                WindowDoKeyDown(unsigned char KeyCode,
  56.                                             ModifierFlags Modifiers, MyWinRec* Window);
  57. void                                WindowClose(MyWinRec* Window);
  58. void                                WindowUpdate(MyWinRec* Window);
  59. void                                WindowMenuSetup(MyWinRec* Window);
  60. void                                WindowDoMenuCommand(MyWinRec* Window, struct MenuItemType* MenuItem);
  61.  
  62. void                                FindAgain(MyWinRec* Window);
  63. MyBoolean                        Replace(MyWinRec* Window);
  64. MyWinRec*                        WhichWindowMenuItem(struct MenuItemType* TheItem);
  65.  
  66. #endif
  67.