Initial revision
[ssr] / StraySrc / Libraries / Sapphire / csapph / h / ptr
CommitLineData
2ee739cc 1/*
2 * ptr.h
3 *
4 * [Generated from ptr, 25 September 1996]
5 */
6
7#if !defined(__CC_NORCROFT) || !defined(__arm)
8 #error You must use the Norcroft ARM Compiler for Sapphire programs
9#endif
10
11#pragma include_only_once
12#pragma force_top_level
13
14#ifndef __ptr_h
15#define __ptr_h
16
17#ifndef __sapphire_h
18 #include "sapphire.h"
19#endif
20
21/*----- Overview ----------------------------------------------------------*
22 *
23 * Functions provided:
24 *
25 * ptr_setShape
26 * ptr_resetShape
27 * ptr_blinkOn
28 * ptr_blinkOff
29 * ptr_init
30 */
31
32/* --- ptr_setShape --- *
33 *
34 * On entry: R0 == sprite name
35 * R1 == x offset of hot spot
36 * R2 == y offset of hot spot
37 *
38 * On exit: --
39 *
40 * Use: Set the pointer sprite to the given name. The sprite area
41 * used is that returned from resspre_area.
42 */
43
44extern routine ptr_setShape;
45
46/* --- ptr_resetShape --- *
47 *
48 * On entry: --
49 *
50 * On exit: --
51 *
52 * Use: Resets the pointer shape to the default.
53 */
54
55extern routine ptr_resetShape;
56
57/* --- ptr_blinkOn --- *
58 *
59 * On entry: --
60 *
61 * On exit: --
62 *
63 * Use: Makes the caret blink while it is in a window owned by your
64 * application.
65 */
66
67extern routine ptr_blinkOn;
68
69/* --- ptr_blinkOff --- *
70 *
71 * On entry: --
72 *
73 * On exit: --
74 *
75 * Use: Turns the caret blinking off.
76 */
77
78extern routine ptr_blinkOff;
79
80/* --- ptr_init --- *
81 *
82 * On entry: --
83 *
84 * On exit: --
85 *
86 * Use: Initialises the ptr system.
87 */
88
89extern routine ptr_init;
90
91/*----- That's all, folks -------------------------------------------------*/
92
93#endif