1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  *
21  * Clipping rectangle defines
22  */
23 
24 #ifndef TINSEL_CURSOR_H	// prevent multiple includes
25 #define TINSEL_CURSOR_H
26 
27 #include "tinsel/dw.h"	// for SCNHANDLE
28 
29 namespace Tinsel {
30 
31 void AdjustCursorXY(int deltaX, int deltaY);
32 void SetCursorXY(int x, int y);
33 void SetCursorScreenXY(int newx, int newy);
34 void GetCursorXY(int *x, int *y, bool absolute);
35 bool GetCursorXYNoWait(int *x, int *y, bool absolute);
36 bool isCursorShown();
37 
38 void RestoreMainCursor();
39 void SetTempCursor(SCNHANDLE pScript);
40 void DwHideCursor();
41 void UnHideCursor();
42 void FreezeCursor();
43 void DoFreezeCursor(bool bFreeze);
44 void HideCursorTrails();
45 void UnHideCursorTrails();
46 void DelAuxCursor();
47 void SetAuxCursor(SCNHANDLE hFilm);
48 void DwInitCursor(SCNHANDLE bfilm);
49 void DropCursor();
50 void RestartCursor();
51 void RebootCursor();
52 void StartCursorFollowed();
53 void EndCursorFollowed();
54 
55 } // End of namespace Tinsel
56 
57 #endif	// TINSEL_CURSOR_H
58