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 * 22 * Based on the original sources 23 * Faery Tale II -- The Halls of the Dead 24 * (c) 1993-1996 The Wyrmkeep Entertainment Co. 25 */ 26 27 #ifndef SAGA2_MOUSEIMG_H 28 #define SAGA2_MOUSEIMG_H 29 30 namespace Saga2 { 31 32 enum { 33 kMouseCloseBx1Image = 0, 34 kMouseCloseBx2Image, 35 kMouseUsePtrImage, 36 kMouseXPointerImage, 37 kMouseArrowImage, 38 kMouseGrabPtrImage, 39 kMouseAttakPtrImage, 40 kMouseCenterActorIndicatorImage, 41 kMousePgUpImage, 42 kMousePgDownImage, 43 kMousePgLeftImage, 44 kMousePgRightImage, 45 kMouseAutoWalkImage, 46 kMouseGaugeImage, 47 kMouseMax 48 }; 49 50 extern gStaticImage *mouseCursors[kMouseMax]; 51 52 // Set a new image for the mouse pointer 53 void setMouseImage(int id, int16 x, int16 y); 54 55 // Set a new image for the mouse pointer 56 void setMouseImage(gPixelMap &img, int16 x, int16 y); 57 58 // Set new text for the mouse pointer 59 void setMouseText(char *text); 60 61 // Set the gauge value for the mouse pointer (automatically turns 62 // gauge on if necessary ). 63 void setMouseGauge(int numerator, int denominator); 64 65 // Turn off the gauge on the mouse pointer 66 void clearMouseGauge(void); 67 68 void initCursors(); 69 void freeCursors(); 70 71 } // end of namespace Saga2 72 73 #endif 74