chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Steel / h / caretptr
1 /*
2  * CaretPtr
3  *  handles a 'caret pointer' - one that changes to a 'I' shape if over a
4  *  writable icon.
5  *
6  * v. 1.00 (25 July 1991)
7  *
8  * © 1991-1998 Straylight
9  */
10
11 /*----- Licensing note ----------------------------------------------------*
12  *
13  * This file is part of Straylight's Steel library.
14  *
15  * Steel is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 2, or (at your option)
18  * any later version.
19  *
20  * Steel is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with Steel.  If not, write to the Free Software Foundation,
27  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28  */
29
30 #ifndef __caretptr_h
31 #define __caretptr_h
32
33 #ifndef __pointer_h
34 #include "pointer.h"
35 #endif
36
37 /*
38  * void caretPtr(char *name,sprite_area *area,int x,int y)
39  *
40  * Use
41  *  Turns the caret pointer on
42  *
43  * Parameters
44  *  char *name == the name of the sprite to use
45  *  sprite_area *area == pointer to sprite area
46  *  int x == x position of hotspot
47  *  int y == y position of hotspot
48  */
49
50 void caretPtr(char *name,sprite_area *area,int x,int y);
51
52 /*
53  * void caretPtrOff(void)
54  *
55  * Use
56  *  Turns the caretPtr off.
57  */
58
59 void caretPtrOff(void);
60
61 void caretPtr__pointer(BOOL ownIt);
62
63 #endif