[Scummvm-cvs-logs] SF.net SVN: scummvm:[39793] scummvm/trunk/engines/cine/pal.h
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Wed Apr 1 19:16:32 CEST 2009
Revision: 39793
http://scummvm.svn.sourceforge.net/scummvm/?rev=39793&view=rev
Author: buddha_
Date: 2009-04-01 17:16:22 +0000 (Wed, 01 Apr 2009)
Log Message:
-----------
Add default constructor for Cine::Palette (Creates an invalid, empty palette).
Modified Paths:
--------------
scummvm/trunk/engines/cine/pal.h
Modified: scummvm/trunk/engines/cine/pal.h
===================================================================
--- scummvm/trunk/engines/cine/pal.h 2009-04-01 16:19:48 UTC (rev 39792)
+++ scummvm/trunk/engines/cine/pal.h 2009-04-01 17:16:22 UTC (rev 39793)
@@ -93,8 +93,9 @@
/*! \brief Create an initially black palette with the given color format and number of colors.
* \param format Color format
* \param numColors Number of colors
+ * \note For the default constructed object (i.e. no parameters given) this will hold: empty() && !isValid()
*/
- Palette(const Graphics::PixelFormat format, const uint numColors);
+ Palette(const Graphics::PixelFormat format = Graphics::PixelFormat(), const uint numColors = 0);
/*! \brief Clear the palette (Set color count to zero, release memory, overwrite color format with default value).
* \note This is very different from using fillWithBlack-function which fills the palette with black.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list