acme.m 734 B

1234567891011121314151617181920212223242526272829303132
  1. Acme : module {
  2. PATH : con "/dis/acme.dis";
  3. RELEASECOPY : con 1;
  4. M_LBUT : con 1;
  5. M_MBUT : con 2;
  6. M_RBUT : con 4;
  7. M_TBS : con 8;
  8. M_PLUMB : con 16;
  9. M_QUIT : con 32;
  10. M_HELP : con 64;
  11. M_RESIZE : con 128;
  12. M_DOUBLE : con 256;
  13. textcols, tagcols : array of ref Draw->Image;
  14. but2col, but3col, but2colt, but3colt : ref Draw->Image;
  15. acmectxt : ref Draw->Context;
  16. keyboardpid, mousepid, timerpid, fsyspid : int;
  17. fontnames : array of string;
  18. wdir : string;
  19. init : fn(ctxt : ref Draw->Context, argv : list of string);
  20. timing : fn(s : string);
  21. frgetmouse : fn();
  22. get : fn(p, q, r : int, b : string) : ref Dat->Reffont;
  23. close : fn(r : ref Dat->Reffont);
  24. acmeexit : fn(err : string);
  25. getsnarf : fn();
  26. putsnarf : fn();
  27. };