4 * Handling of pointer-shape changing
6 * © 1994-1998 Straylight
9 /*----- Licensing note ----------------------------------------------------*
11 * This file is part of Straylight's Steel library.
13 * Steel is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2, or (at your option)
18 * Steel is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with Steel. If not, write to the Free Software Foundation,
25 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
40 * os_error *pointer_set_shape(sprite_area *a,sprite_id *sid,int x,int y)
43 * Sets the pointer shape to be the pointer specified. If a pointer with
44 * name `name<dx><dy>' is found in the sprite area, that's used instead, and
45 * the active point is scaled assuming that the original was specified in
46 * mode-8 type coordinates.
49 * sprite_area *a == the sprite area containing the sprite
50 * sprite_id *sid == pointer to the sprite identifier (dumb idea)
51 * int x,int y == coordinates (in pixels) of the hot-spot
54 os_error *pointer_set_shape(sprite_area *a,sprite_id *sid,int x,int y);
57 * void pointer_reset_shape(void)
60 * Resets the pointer shape
63 void pointer_reset_shape(void);