aboutsummaryrefslogtreecommitdiff
path: root/graphics/surface.h
AgeCommit message (Collapse)Author
2020-01-02GRAPHICS: Add a function to vertically flip surfacesCameron Cawley
2017-11-18COMMON: Add limited support for custom deleters to ScopedPtrColin Snover
Custom deleters of ScopedPtr are not currently fully conforming to C++11's support for custom deleters in std::unique_ptr for the sake of simplicity of implementation. Unlike in the standard library, plain functions and lvalue references are not supported, nor may custom deleters be passed to the constructor at runtime. This can be improved in the future, if necessary, by doing what standard library implementations usually do and creating a Pair class that uses the Empty Base Optimization idiom to avoid extra storage overhead of the deleter instance when it is not needed, as in typical standard library implementations, plus some additional type traits to support the necessary metaprogramming for the different type overloads.
2016-06-14GRAPHICS: Add possibility to specify Fill maskmode in the constructorEugene Sandulenko
2016-06-03GRAPHICS: Add mask mode to FloodFill class and document the class.Eugene Sandulenko
2016-06-03GRAPHICS: Added FloodFill class to Surface.Eugene Sandulenko
Moved from WAGE engine and is using stack-based classic floodfill implementation.
2014-10-28GRAPHICS: Remove some trailing whitespace in surface.hFedor
2014-08-29GRAPHICS: Fix some Doxygen comments that seem wrong.Einar Johan Trøan Sømåen
2014-02-18GRAPHICS: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-27GRAPHICS: Fix SharedPtrSurfaceDeleter for nullptr inputs.Johannes Schickel
2013-09-22GRAPHICS: Remove variable shadowingRichieSams
2013-09-12ZVISION: Add wrapper function for copyRectToSurfaceRichieSams
Also rename some arguments to make them more clear
2013-08-15GRAPHICS: Create copyRectToSurface member functionrichiesams
2013-08-07Merge pull request #365 from lordhoto/protected-pixelsJohannes Schickel
Make Graphics::Surface::pixels protected.
2013-08-06GRAPHICS: Make Surface::pixels protected.Johannes Schickel
2013-08-04GRAPHICS: Fix typo.Johannes Schickel
2013-08-03GRAPHICS: Add two new methods to change 'pixels' of a Surface.Johannes Schickel
One method is a simpler setter for 'pixels'. The other one can be used to setup a Surface with custom data.
2013-08-03GRAPHICS: Add an easy way to query 'pixels' of Surface.Johannes Schickel
This introduced getPixels which is a shortcut for getBasePtr(0, 0).
2013-08-02GRAPHICS: Allow to query a Surface describing a subarea in Surface.Johannes Schickel
2012-10-08Merge pull request #257 from lordhoto/graphics-conversionJohannes Schickel
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-08-28GRAPHICS: Add an in-place Surface PixelFormat conversion.Johannes Schickel
2012-03-20Merge remote branch 'upstream/master' into pegasusMatthew Hoops
2012-03-20GRAPHICS: Add a convertTo() function to SurfaceMatthew Hoops
2011-10-27GRAPHICS: Add a Surface wrapper for drawThickLineMatthew Hoops
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17ALL/GRAPHICS: Remove Surface::bytesPerPixel.Johannes Schickel
2011-04-17GRPAHICS: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GRAPHICS: Add a PixelFormat member to Surface.Johannes Schickel
2011-01-07GRAPHICS: Add some doxygen comments to Surface.Johannes Schickel
svn-id: r55142
2009-01-20Moved Surface::blit to backends/vkeybd/virtual-keyboard-gui.cppMax Horn
svn-id: r35965
2009-01-20merge SurfaceKeyColored into SurfaceAndre Heider
svn-id: r35951
2009-01-05Workaround issue in Graphics::Surface code on HaikuMax Horn
svn-id: r35745
2009-01-01Cleanup.Johannes Schickel
svn-id: r35657
2009-01-01Fingolfin says: If an #ifdef __SYMBIAN32__ is needed here, the Symbian folks ↵Max Horn
should add it. In the meantime, this FIXME comment serves no purpose :) svn-id: r35652
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-09-16Added "querySaveMetaInfos" to MetaEngine.Johannes Schickel
-> Allows easy addition of save state specific infos like playtime, save date atc. -> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos -> Changed SCUMM / KYRA to implement the newly added functionallity -> Removed hack in KYRAs listSavefiles, which is now handled via meta infos svn-id: r34581
2008-02-09Reordered initialization list for Graphics::Surface to kill tons of warnings ↵Nicola Mettifogo
gcc started spewing out after robiwatts changed the order of data members for benefit of ARM. svn-id: r30842
2008-02-03Missed file from previous commits. Bah.Robin Watts
svn-id: r30781
2007-11-06- little bit more cleanupJohannes Schickel
- added fixme about Surface::move svn-id: r29442
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
2006-06-21Move moveScreen to common surface functions for graphicsTravis Howell
svn-id: r23218
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20519
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430
2005-05-08Added convenience methods create/free to Graphics::Surface (part of patch ↵Max Horn
#1163026) svn-id: r17973
2005-05-08Patch #1193795 (Adding drawLine() to Surface)Max Horn
svn-id: r17959