Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-08 | GRAPHICS: Document loadTTFFont a bit. | Johannes Schickel | |
2013-12-01 | GRAPHICS: Initialize variable. CID 1133708 | Eugene Sandulenko | |
2013-11-27 | GRAPHICS: Fix SharedPtrSurfaceDeleter for nullptr inputs. | Johannes Schickel | |
2013-11-23 | GRAPHICS: Allow Font to accept U32String as strings. | Johannes Schickel | |
2013-11-23 | GRAPHICS: Allow TTFFont to cache glyphs when required. | Johannes Schickel | |
This should allow TTFFont to display UTF-32 characters from fonts. | |||
2013-11-23 | GRAPHICS: Get rid of _glyphSlots in TTFFont. | Johannes Schickel | |
2013-11-23 | GRAPHICS: Let Font take uint32 as character codes. | Johannes Schickel | |
This is required to support UTF-32 strings but does not make them work automatically! | |||
2013-11-12 | GRAPHICS: Set PNG alpha bits to 0 if there's no alpha present. | Alyssa Milburn | |
This fixes the color-keying checks in Wintermute for PNG images. | |||
2013-10-26 | ALL: Mark off common code used by ZVision | Matthew Hoops | |
2013-10-26 | GRAPHICS: do not reset the extra parameters of IFFDecoder on destroy(). | peres | |
The two properties that control pixel packing and the size of the surface need to be preserved for loadStream() to work correctly. They are now under complete responsibility of the client. | |||
2013-10-26 | Revert "GRAPHICS: do not clear the internal state of IFFDecoder on ↵ | peres | |
loadStream()." This reverts commit 92c1ff31d6d8d78e58caa4d123ceb0fea43a48ed. | |||
2013-10-26 | GRAPHICS: Have TGA's loadStream() call destroy() | Matthew Hoops | |
2013-10-26 | GRAPHICS: Clarify implicit destroy() usage | Matthew Hoops | |
2013-10-26 | GRAPHICS: do not clear the internal state of IFFDecoder on loadStream(). | peres | |
This decoder needs to keep track of client parameters that control how the pixels are going to be packaged, so the responsibility for clearing the state has been moved on the client (using the destroy() method on ImageDecoder). As no client uses the IFFDecoder for more than one image at a time, this change does not require updates to the engines. The only effect is on Parallaction (BRA-Amiga), which can now control the way pixels are packaged in mask and path bitmaps. | |||
2013-10-17 | Merge branch 'zvision' | Willem Jan Palenstijn | |
This merges pull request 395 for the ZVision engine developed during GSoC2013. | |||
2013-09-30 | GRAPHICS: Fix uninitialised field in PNG decoder. CID 1002280. | D G Turner | |
2013-09-30 | GRAPHICS: Fix uninitialized cursor visibility variable. CID 1002283. | D G Turner | |
The default at cursor construction has been set to not visible. This now requires an explicit call to setVisible(true) to show the cursor, but a basic test shows that this seems to be OK and engines which fail to do this would have been intermittently broken before. | |||
2013-09-29 | Merge branch 'master' into zvision | RichieSams | |
2013-09-22 | GRAPHICS: Remove variable shadowing | RichieSams | |
2013-09-16 | Merge pull request #376 from lordhoto/libjpeg | Johannes Schickel | |
GRAPHICS: Implement JPEGDecoder based on libjpeg. | |||
2013-09-16 | GRAPHICS: Add some paranoia asserts in JPEGDecoder. | Johannes Schickel | |
2013-09-16 | GRAPHICS: Make JPEGDecoder request RGB output from libjpeg by default. | Johannes Schickel | |
This fixes loading of JPEG files which contain RGB color space instead of YUV. It is a pretty odd extension of JPEG files by Adobe which is indicated by this: http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/JPEG.html#Adobe To still support Groovie's need for YUV data I added some possibility to request direct YUV output. | |||
2013-09-16 | GRAPHICS: Implement JPEGDecoder based on libjpeg. | Johannes Schickel | |
2013-09-12 | ZVISION: Add wrapper function for copyRectToSurface | RichieSams | |
Also rename some arguments to make them more clear | |||
2013-09-24 | Merge branch 'master' into zvision | Willem Jan Palenstijn | |
Conflicts: video/avi_decoder.cpp | |||
2013-08-22 | Merge pull request #361 from rundfunk47/guiimprovements | Eugene Sandulenko | |
GUI: Various GUI Improvements | |||
2013-08-22 | GRAPHICS: Increase robustness of VectorRendererSpec::drawString. | Johannes Schickel | |
2013-08-22 | GRAPHICS: Unify drawing paths in VectorRendererSpec::drawString. | Johannes Schickel | |
Formerly, the behavior between when a drawable area was specified and when not was different in a sense which is not expected. For example, when an empty textDrawableArea was passed and the text could be drawn outside the 'area' specified. While when a textDrawableArea covering the whole screen was passed the text was clipped inside 'area'. Now, the code does follow the latter logic in both cases. I am not sure whether this will cause any issues, but a quick check of the launcher and options menu didn't reveal anything... | |||
2013-08-22 | GRAPHICS: Simplify VectorRendererSpec::drawString. | Johannes Schickel | |
This removes the two additional copy steps for rendering when a drawable text area is specified. Instead it uses Surface::getSubArea to draw directly onto _activeSurface. | |||
2013-08-19 | GRAPHICS: Add missing "break"s in switch, CID 1063214 | Torbjörn Andersson | |
This won't actually make any difference, since the fall through would do nothing and then reach the break in the default case. But I think it's less error-prone this way if the code is ever modified. | |||
2013-08-16 | GRAPHICS: Gradient blending on borders of rounded squares | Narek Mailian | |
2013-08-16 | GRAPHICS: Change soft-shadow calculation to not use doubles | Narek Mailian | |
2013-08-16 | GRAPHICS: Shadows on tabs | Narek Mailian | |
2013-08-16 | GRAPHICS: Add support for Soft Shadows with rounded squares | Narek Mailian | |
2013-08-16 | GRAPHICS: Added changes and improved code from inisider/scummvm (partial text) | Narek Mailian | |
Includes code from https://github.com/inisider/scummvm/ , which has been squashed and bugfixed | |||
2013-08-15 | GRAPHICS: Create copyRectToSurface member function | richiesams | |
2013-08-12 | GRAPHICS: Fix warnings about mismatching format arguments. | Johannes Schickel | |
2013-08-08 | GRAPHICS: Allow VectorRenderer and ThemeEngine to init with 4BPP | Narek Mailian | |
2013-08-08 | GUI: Change name of GUI-renderers to remove "16-bit" | Narek Mailian | |
2013-08-08 | GRAPHICS: Fix fonts/bdf.cpp to allow for 32bpp to be used | Narek Mailian | |
2013-08-08 | GRAPHICS: Add error-checking in blendPixelPtr for invalid BPPs | Narek Mailian | |
2013-08-08 | GRAPHICS: Fix VectorRendererSpec for RGBA8888. | Johannes Schickel | |
Formerly values in the gradient and blending code overflowed and thus caused incorrect colors. Now there's some special case for 32bpp modes, which needs slightly more operations but assures a correct output. | |||
2013-08-08 | GRAPHICS: Fix incorrect parameter order for getBasePtr. | Torbjörn Andersson | |
This caused createThumbnail() to crash, e.g. when saving in the Kyrandia engine. Probably other engines as well. | |||
2013-08-07 | Merge pull request #365 from lordhoto/protected-pixels | Johannes Schickel | |
Make Graphics::Surface::pixels protected. | |||
2013-08-06 | GRAPHICS: Make Surface::pixels protected. | Johannes Schickel | |
2013-08-04 | GRAPHICS: Fix typo. | Johannes Schickel | |
2013-08-03 | GRAPHICS: 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-03 | GRAPHICS: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | GRAPHICS: Add an easy way to query 'pixels' of Surface. | Johannes Schickel | |
This introduced getPixels which is a shortcut for getBasePtr(0, 0). | |||
2013-08-03 | GRAPHICS: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |