Ticket #9122: C4244_cursorman_cursor_struct_constructor.patch
File C4244_cursorman_cursor_struct_constructor.patch, 679 bytes (added by , 14 years ago) |
---|
-
graphics/cursorman.h
178 178 byte _targetScale; 179 179 180 180 uint _size; 181 Cursor(const byte *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, inttargetScale = 1, const Graphics::PixelFormat *format = NULL) {181 Cursor(const byte *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, byte targetScale = 1, const Graphics::PixelFormat *format = NULL) { 182 182 #ifdef USE_RGB_COLOR 183 183 if (!format) 184 184 _format = Graphics::PixelFormat::createFormatCLUT8();