VEDITOR.DEF 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. DEFINITION MODULE VEditor;
  2. (*
  3. * REPERTOIRE
  4. * Release 1.6
  5. * By Charles Bradford and Cole Brecheen
  6. * (c) Copyright 1985-1992 PMI
  7. * Green Bay, Wisconsin
  8. * All rights reserved
  9. * (414) 468-6040
  10. *
  11. * $Header: D:/logfiles/defs/veditor.dev 1.4 30 Dec 1990 18:06:18 coleb $
  12. *
  13. *)
  14. IMPORT GenLists;
  15. IMPORT MsColors;
  16. IMPORT ScrnTypes;
  17. IMPORT VWindows;
  18. TYPE
  19. AnEdControlRec = RECORD
  20. Col1, Row1, Col2, Row2 : CARDINAL;
  21. TextRow1, CursorCol, CursorRow: CARDINAL;
  22. Wrapping, ReadOnly, overwriting, DoCounting,
  23. ChangeMade: BOOLEAN;
  24. FrameRec: ScrnTypes.DisplayFrame;
  25. WindowHandle: VWindows.AWindowHandle;
  26. NextFrame: ScrnTypes.AFrameName;
  27. MaxLines, EdLastKey, EntryBox, ExitBox,
  28. CountRow : CARDINAL;
  29. EntryForeColor, EntryBackColor, ExitForeColor,
  30. ExitBackColor, EntryForeBox, EntryBackBox,
  31. ExitForeBox, ExitBackBox, EdPromptFore,
  32. EdPromptBack: MsColors.AColor;
  33. EntryAttrib, ExitAttrib, EdPromptAttrib:
  34. MsColors.AMonoAttribute;
  35. END;
  36. AnEditor = PROCEDURE( VAR GenLists.GenList, VAR
  37. AnEdControlRec );
  38. VAR
  39. TheEditor : AnEditor;
  40. PROCEDURE InitEdRec( VAR Rec: AnEdControlRec );
  41. PROCEDURE Init();
  42. END VEditor.