aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2019-10-03GRAPHICS: Further Fix for MSVC Warnings in Nine Patch CodeD G Turner
2019-10-03GRAPHICS: Add Missing Switch Default Case in PixelFormat HeaderD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-02GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned WarningsD G Turner
2019-10-03GRAPHICS: MACGUI: Correctly render highlights for the open submenusEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Close nested submenus on hoverEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Implement nested submenu navigationEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Finish implementation for nested submenus drawingEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Unify submenu dimension calculationsEugene Sandulenko
2019-10-03GRAPHICS: MACGUI: Render nested submenusEugene Sandulenko
2019-10-02GRAPHHICS: MACGUI: Fix crash on submenu renderingEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Fix and simplify nested submenu readingEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Fix debug menu printingEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Added debug printout for MacMenuEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Read nested submenus from PE exesEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Render submenus recursivelyEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Take submenu arrow indicator width into accountEugene Sandulenko
2019-10-02GRAPHICS: MACGUI: Change notion of bbox computation to submenusEugene Sandulenko
2019-10-01GRAPHICS: MACGUI: Further work on nested submenusEugene Sandulenko
2019-10-01GRAPHICS: MACGUI: Code for drawing nested submenu arrowsEugene Sandulenko
2019-09-30GRAPHICS: Add Default Constructor for Cursor StructureD G Turner
This has a similar issue to the Palette structure and thus this will avoid possible unstable uninitialized bugs which could be very hard to track down or replicate.
2019-09-30GRAPHICS: Add Default Constructor For Palette StructureD G Turner
This is used for outPalette in sci/graphics/palette32 code without calling through the nominal constructor which leaves the various fields _possibly_ uninitialised and thus triggers various compiler warnings. Adding a default constructor fixes the root cause.
2019-09-29GRAPHICS: MACGUI: Load border padding directly from the 9-patchEugene Sandulenko
2019-09-29GRAPHICS: Fix padding calculation for 9-patch imagesEugene Sandulenko
2019-09-29GRAPHICS: MACGUI: Fixed stack smashingEugene Sandulenko
2019-09-29GRAPHICS: Allow 256-byte palettes to 9-patchEugene Sandulenko
2019-09-29GRAPHICS: Added more debug output to 9-patchEugene Sandulenko
2019-09-29GRAPHICS: MACGUI: Added safaguards to border blittingEugene Sandulenko
2019-09-29GRAPHICS: Fix NinePatch palette length.Eugene Sandulenko
Byte did not allow to have 256 color palettes.
2019-09-29MACGUI: Added sanity check to 9-patch recalculatuonEugene Sandulenko
2019-09-28GRAPHICS: Initialize class variableEugene Sandulenko
2019-09-28MACGUI: Do not assert when recalculating boards on loadingEugene Sandulenko
2019-09-15GRAPHICS: Fix MSVC Warning in Nine PatchD G Turner
2019-09-08GRAPHICS: Fix VectorRenderer's colorFillClip to apply the clipping rectBastien Bouclet
2019-09-07HDB: Remove useless returnsStrangerke
2019-09-03GRAPHICS: Added source transparency parameter to ManagedSurface::transBlitEugene Sandulenko
2019-09-03GRAPHICS: Fix Managed Surface alpha blendingEugene Sandulenko
2019-08-21GRAPHICS: Display Mac monochrome cursor inverted pixelssluicebox
Bug #7050
2019-08-17GUI: Fix GCC Compiler Warnings in GUI Theme Parser CodeD G Turner
This removes the usage of memset to clear complex structures and replaces them with constructor methods for the structures which will be executed when these are instantiated.
2019-08-11GRAPHICS: MACGUI: Allow loading menus from resource forksCameron Cawley
2019-08-10GRAPHICS: MACGUI: Use Common::String for addMenuItem and addMenuSubItemCameron Cawley
2019-08-10GRAPHICS: MACGUI: Don't hide the menu bar if kWMModeAutohideMenu is not enabledCameron Cawley
2019-08-09GRAPHICS: Add a version of CursorManager::replaceCursor that accepts a ↵Cameron Cawley
Graphics::Cursor
2019-08-02COMMON: Explain new params for wordWrapText()Thanasis Antoniou
2019-08-02COMMON: Support text wrapping with even width line segmentsThanasis Antoniou
The new arguments are optional. The lines segments will be close to the same width. The algorithm is similar to the one we had for Blade Runner but not exactly the same, since that one would wrap a line at a white space after the theoretical split point (quotient of full line text width divided by target lines number)
2019-07-14GRAPHICS: Fix ManagedSurface transBlitFrom ignoring flipped parameterSupSuper
2019-07-14GRAPHICS: Fix wrong rect size when blitting subsurface to ManagedSurfaceSupSuper
We want the srcRect size and not the original surface size
2019-06-30JANITORIAL: Avoid C4121 warnings in MSVC by reordering fieldsLe Philousophe
C4121 is about 'symbol': alignment of a member was sensitive to packing
2019-06-24GRAPHICS: Fix fully transparent pixel blitlolbot-iichan
In BLEND_NORMAL mode with color != 0xffffffff, blending fully transparent pixel was resulted in slightly modifying some background colors, because old value X was a bit different from new value (X*255>>8). This fixes defect #10686 WME: Sprite background is not fully transparent if AlphaColor is set
2019-06-09GRAPHICS: Fix rects handling in ManagedSurface::copyFromLe Philousophe
Like in create(), when using copyFrom the whole surface gets new data and is now completely dirty so let's use markAllDirty.
2019-06-09GRAPHICS: Fix ManagedSurface::copyFrom memory handlingLe Philousophe
When calling ManagedSurface::copyFrom, _disposeAfterUse should be set to YES because inner surface frees up old pixels array and creates a new one.