-- XMKDriver.mesa
-- Created By Jeff Weinstein on  3-Apr-87  0:42:47

DIRECTORY
  UserTerminal;
  
XMKDriver: DEFINITIONS =
  BEGIN
  
  Box:TYPE = RECORD[x1,y1,x2,y2:INTEGER];
  XMKDriverProc:PROCEDURE;
  setMouseInterest:PROCEDURE[box:Box];
  setMouseConstraint:PROCEDURE[box:Box];
  setCursor:PROCEDURE[cursor:LONG POINTER TO UserTerminal.CursorArray];
  setCursorPosition:PROCEDURE[x,y:CARDINAL];
  getLastEventTime:PROCEDURE RETURNS[time:LONG CARDINAL];
  setLastEventTime:PROCEDURE [time:LONG CARDINAL];
  getTimeInMillis:PROCEDURE RETURNS[time:LONG CARDINAL];
  enableMouseEvents:PROCEDURE[enable:BOOLEAN];
  enableKeyboardEvents:PROCEDURE[enable:BOOLEAN];
  blinkDisplay:PROCEDURE;
  displayInit:PROCEDURE RETURNS[addr:LONG POINTER];
  displayOn:PROCEDURE;
  displayOff:PROCEDURE;
  displayClose:PROCEDURE;
  
  END.