aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.h
AgeCommit message (Collapse)Author
2009-06-30Fixed a few formatting bitsJordi Vilalta Prat
svn-id: r41973
2009-06-30renamed kTransactionPixelFormatNotSupported to ↵Jody Northup
kTransactionFormatNotSupported, retyped all Graphics::PixelFormat * parameters to const Graphics::PixelFormat *, (hopefully) repaired all memory leaks on screen and cursor format changes, provided OSystem::getScreenFormat and OSystem::getSupportedFormats methods for when ENABLE_RGB_COLOR is not set, completely forgot the "commit early, commit often" mantra. svn-id: r41972
2009-06-26Changed cursor manager functions to take *Graphics::PixelFormat with default ↵Jody Northup
parameter of NULL (and initialize NULL pointers with CLUT8), rather than taking a Graphics::PixelFormat with default parameter of Graphics::PixelFormat::createFormatCLUT8() svn-id: r41900
2009-06-24made the cursor's pixel format a member of the cursor object, merged ↵Jody Northup
____CursorFormat functions into equivalent ____Cursor functions. svn-id: r41825
2009-06-20renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLORJody Northup
svn-id: r41696
2009-06-16Simplified cursor related 16-bit code.Jody Northup
svn-id: r41577
2009-06-15Fix compilation when 16BIT code is disabled.Eugene Sandulenko
svn-id: r41543
2009-06-13Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or ↵Jody Northup
GuiManager cursors will render properly over the game (on spacebar hit, for instance) svn-id: r41491
2009-06-11Renamed Graphics::ColorFormat to Graphics::ColorMode, streamlined enum by ↵Jody Northup
removing order section and temporarily removing kFormatARGB1555 Converted cursor code to make use of _screenFormat, instead of a parameter passed directly to it by the engine. Adjusted scumm engine to account for these changes. This should probably have been two separate commits, but the changes concern the same files... svn-id: r41443
2009-06-06Corrected cursor display errors introduced by revision 41204, reimplemented ↵Jody Northup
16-bit cursor support in a less hacky, but still temporary way. svn-id: r41209
2009-06-05Fixes ScummEngine_v70he::setDefaultCursor to work in 16-bit, using a ↵Jody Northup
temporary hack. svn-id: r41204
2009-06-05Corrected backend to be able to accept a 16-bit mouseKeyColor without overflowJody Northup
svn-id: r41194
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-06-09Implemented popAllCursors() in CursorManager to ensure that all unnecessary ↵Christopher Page
cursors are removed from the cursor stack when returning to the launcher svn-id: r32642
2008-05-07Proper delete[] formatting (this time all occurences should've been changed...)Johannes Schickel
svn-id: r31929
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-06-30Added minimal doxygen comments to CursorManager::isVisible() and ↵Max Horn
CursorManager::showMouse() svn-id: r27796
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-02-12Merged the "palette manager" into the cursor manager. It was only used toTorbjörn Andersson
manage *cursor* palettes, so the name was misleading. svn-id: r25500
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
recently added (cursor) palette manager) so that the cursor can be properly restored after returning from the GUI. If there's any C++ magic that can keep the backend functions from being called by anything else than these managing classes, that would probably be a good idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps there are at least some backends that will no longer need to? svn-id: r22639