; ; ptr.sh ; ; Pointer changing and caret blinking ; ; © 1994-1998 Straylight ; ;----- Licensing note ------------------------------------------------------- ; ; This file is part of Straylight's Sapphire library. ; ; Sapphire is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2, or (at your option) ; any later version. ; ; Sapphire is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with Sapphire. If not, write to the Free Software Foundation, ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ;----- Overview ------------------------------------------------------------- ; ; Functions provided: ; ; ptr_setShape ; ptr_resetShape ; ptr_blinkOn ; ptr_blinkOff ; ptr_init [ :LNOT::DEF:ptr__dfn GBLL ptr__dfn ; --- ptr_setShape --- ; ; On entry: R0 == sprite name ; R1 == x offset of hot spot ; R2 == y offset of hot spot ; ; On exit: -- ; ; Use: Set the pointer sprite to the given name. The sprite area ; used is that returned from resspre_area. IMPORT ptr_setShape ; --- ptr_resetShape --- ; ; On entry: -- ; ; On exit: -- ; ; Use: Resets the pointer shape to the default. IMPORT ptr_resetShape ; --- ptr_blinkOn --- ; ; On entry: -- ; ; On exit: -- ; ; Use: Makes the caret blink while it is in a window owned by your ; application. IMPORT ptr_blinkOn ; --- ptr_blinkOff --- ; ; On entry: -- ; ; On exit: -- ; ; Use: Turns the caret blinking off. IMPORT ptr_blinkOff ; --- ptr_init --- ; ; On entry: -- ; ; On exit: -- ; ; Use: Initialises the ptr system. IMPORT ptr_init ] ;----- That's all, folks ---------------------------------------------------- END