inspoint.pp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {$MACRO ON}
  2. (******************************************************************************
  3. *
  4. * Copyright (c) 1995-2000 Palm, Inc. or its subsidiaries.
  5. * All rights reserved.
  6. *
  7. * File: InsPoint.h
  8. *
  9. * Release: Palm OS SDK 4.0 (63220)
  10. *
  11. * Description:
  12. * This file defines insertion point routines.
  13. *
  14. * History:
  15. * Jan 25, 1995 Created by Art Lamb
  16. *
  17. *****************************************************************************)
  18. unit inspoint;
  19. interface
  20. uses palmos, coretraps, systemmgr;
  21. // Blink interval is half of a second
  22. const
  23. insPtBlinkInterval = sysTicksPerSecond_ div 2;
  24. insPtWidth = 2;
  25. procedure InsPtInitialize; syscall sysTrapInsPtInitialize;
  26. procedure InsPtSetLocation(const x, y: Int16); syscall sysTrapInsPtSetLocation;
  27. procedure InsPtGetLocation(var x, y: Int16); syscall sysTrapInsPtGetLocation;
  28. procedure InsPtEnable(enableIt: Boolean); syscall sysTrapInsPtEnable;
  29. function InsPtEnabled: Boolean; syscall sysTrapInsPtEnabled;
  30. procedure InsPtSetHeight(const height: Int16); syscall sysTrapInsPtSetHeight;
  31. function InsPtGetHeight: Int16; syscall sysTrapInsPtGetHeight;
  32. procedure InsPtCheckBlink; syscall sysTrapInsPtCheckBlink;
  33. implementation
  34. end.