Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-06 | JANITORIAL: Silence some more GCC 7 fallthrough warnings | Torbjörn Andersson | |
These weren't explicitly flagged as deliberate, but I recognize Duff's Device when I see it. | |||
2016-10-09 | JANITORIAL: Remove more trailing spaces | Eugene Sandulenko | |
2016-08-24 | GUI: Added transparency to PicWidgets | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented centering of dialog background | Eugene Sandulenko | |
2016-08-24 | GUI: Added possibility to specify scale mode for AlphaBitmaps | Eugene Sandulenko | |
2016-08-24 | GUI: Plug NinePatch bitmaps into parser | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented more modes to autoscale | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented alphabitmap autoscale | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented possibility to use alphabitmaps in GraphicsWidget | Eugene Sandulenko | |
2016-08-24 | GUI: Added new alphabitmap image type | Eugene Sandulenko | |
2016-07-11 | GRAPHICS: Fix copy/paste error in blitAlphaBitmapClip() (CID 1357410) | Torbjörn Andersson | |
2016-07-11 | GRAPHICS: Fix copy/paste error in blitSurfaceClip (CID 1357411) | Torbjörn Andersson | |
2016-07-03 | JANITORIAL: Fix a few warnings | Alexander Tkachev | |
2016-07-03 | JANITORIAL: Remove trailing spaces | Alexander Tkachev | |
2016-07-03 | GUI: Fix blitAlphaBitmapClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add blitAlphaBitmapClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add fillSurfaceClip() | Alexander Tkachev | |
2016-07-03 | GUI: Fix drawRoundedSquareClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add drawTabClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add drawBeveledSquareClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add drawLineClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add drawCircle() | Alexander Tkachev | |
2016-07-03 | GUI: Add drawSquareClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add VectorRendererSpec::drawTriangleClip() | Alexander Tkachev | |
2016-07-03 | GUI: Add drawRoundedSquareShadowClip() | Alexander Tkachev | |
2016-07-03 | GUI: Remove unnecessary debug output | Alexander Tkachev | |
2016-07-03 | GUI: Fix ThemeItemTextData's dirty rectangle | Alexander Tkachev | |
2016-07-03 | GUI: drawRoundedSquareClip() | Alexander Tkachev | |
2016-07-03 | GUI: clippingRect propagated deeper | Alexander Tkachev | |
2016-03-26 | GRAPHICS: Prevent crash when drawing 0-height rounded corners | Ori Avtalion | |
Opening/closing the console when scroll bars were visible caused occasional crashes. Fixes #7089. | |||
2016-02-21 | GRAPHICS: Remove superfluous ABS usage to silence a warning. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Skip empty rects and empty shadows in ↵ | Johannes Schickel | |
VectorRendererSpec::drawSquareShadow. | |||
2016-02-21 | GRAPHICS: Skip empty rects in VectorRenderer*'s drawInteriorRoundedSquareAlg. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Skip empty rects in VectorRendererSpec::drawTriangleFast. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Skip empty rects in VectorRendererSpec::drawSquareAlg. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Skip empty rects in VectorRender*'s drawTabAlg. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Make VectorRendererAA::drawLineAlg never divide by zero. | Johannes Schickel | |
It won't crash any longer in the case dx = dy = 0. | |||
2016-02-21 | GRAPHICS: Let drawLineAlg in VectorRenderer code take unsigned dx, dy. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Skip empty rects in VectorRendererSpec::drawTriangleVertAlg. | Johannes Schickel | |
2016-02-21 | GRAPHICS: Add comments about safe divisions in VectorRendererSpec.cpp. | Johannes Schickel | |
2014-10-28 | GRAPHICS: Remove trailing whitespace | Filippos Karapetis | |
2014-05-27 | GRAPHICS: colour -> color in VectorRendererSpec code. | Johannes Schickel | |
2014-01-10 | GRAPHICS: Fix dest alpha formula in blendPixelPtr | Marcus Comstedt | |
The original alpha computation formula had a problem: If something was drawn on top of a pixel that was already fully opaque, there would be an overflow in the computed alpha, and the destination alpha would be truncated to 0 (fully transparent). In commit 264ba4a9 this formula was replaced with another one, which did not have overflows but also was not correct. This commits introduces a new formula, where the rounding errors have been turned in another direction; drawing a fully opaque pixel on top of a transparent one would result in a pixel which is almost, but not fully, opaque. However, this is no problem in practice, since drawing fully opaque pixels can be achieved with much less code as a special case, so add that (also improves rendering speed). | |||
2014-01-10 | GRAPHICS: Fix computation of addA in darkenFill() | Marcus Comstedt | |
The old computation had rounding issues, causing alpha to leak into the red (usually) component. There's a much easier way to compute it that does not lead to such problems: What should really happen is that the two top bits of the A component should be set to 1 (thus adding 75% alpha). So compute it that way for speed and precision. | |||
2013-12-13 | GRAPHICS: Minor readability fixes to drawBevelSquareAlg method. | D G Turner | |
No functional change. | |||
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. |