Commit Graph
4703 Commits
Author SHA1 Message Date
Eugene Sandulenko fa7c0bf4c2 GUI: Clarify the moved Topaz font data 2021-04-15 17:45:38 +02:00
Eugene Sandulenko 40facbe6d3 GUI: Show only truly compiled-in engines in the About dialog 2021-04-14 14:42:10 +02:00
SupSuper 8f7d28f85e GUI: Fix scaling for simple saveload dialog 2021-04-13 19:08:22 +01:00
Eugene Sandulenko 9113f24120 GUI: Fix tab dimensions on resize 2021-04-13 02:13:20 +02:00
Eugene Sandulenko e01dceb0f8 GUI: Do not double scale Tooltip widget position 2021-04-13 01:58:07 +02:00
Orgad Shaneh fd225f2250 GUI: Fix GCC warning
Signed/unsigned comparison.
2021-04-11 23:15:34 +03:00
Eugene Sandulenko 86ff328500 GUI: THEMES: Update cursor SVG 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 020da412c5 GUI: Skip unnecessary gfx scaling 2021-04-11 21:21:44 +02:00
Eugene Sandulenko d48fb5fdf7 GUI: Do not mess with pixelformat when scaling images 2021-04-11 21:21:44 +02:00
Eugene Sandulenko efa8a35a0a GUI: THEMES: Reworked SVGs and minified them 2021-04-11 21:21:44 +02:00
Eugene Sandulenko b2be9bb2e1 GUI: If SVG file is present, do not bother with loading BMPs 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 3f1ee55268 GUI: Cleanup not needed code 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 0fc5c4c391 GUI: Keep SVGs in 32-bit format until very rendering 2021-04-11 21:21:44 +02:00
Eugene Sandulenko a3fd57f20e GUI: THEMES: Update SVG images 2021-04-11 21:21:44 +02:00
Eugene Sandulenko d69f496380 GUI: Fix compilation with clouds disabled 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 65f3ff9d8e GUI: THEMES: Added empty checkbox SVG 2021-04-11 21:21:44 +02:00
Eugene Sandulenko f88a622e9a GUI: Prerender SVG on theme loading
We know the resolution and we do reread everything on the resolution
change anyway. This simplifies everything: we just draw transparent
surfaces everywhere, regardless of their source format.
2021-04-11 21:21:44 +02:00
Eugene Sandulenko d3f5d34b62 GRAPHICS: Unify VectorRenderer blitting routines 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 61e76618a0 GUI: THEMES: More readable eraser SVG icon 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 2839715a45 GUI: Remove TransparentSurface remnants aka alphabitmaps from themes 2021-04-11 21:21:44 +02:00
Eugene Sandulenko bd083c7fa7 GUI: Switch GUI to ManagedSurface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko af17cb30f4 GUI: Remove duplicate methods 2021-04-11 21:21:44 +02:00
Eugene Sandulenko be4d44c34e GUI: THEMES: Provide default dimensions for SVG images 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 2ca73211d6 GUI: Switch Erase button to SVG and read dimensions from the theme 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 3021f34060 GUI: Add support for specified dimensions for bitmaps in theme file
When we are using SVG, there is no reliable way to get the proper
dimensions. The original code was relying on the dimensions of
the BMP file, and then was using those for understanding the
rendering positions e.g. for PicButtons.
2021-04-11 21:21:44 +02:00
Eugene Sandulenko def114c1fe GUI: THEMES: Update search SVG icon 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 83fb974cfa GUI: Switched SearchPic to SVG 2021-04-11 21:21:44 +02:00
Eugene Sandulenko f72daa5308 GUI: THEMES: Added set of SVG graphics to scummremastered theme 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 51525eeb43 GUI: Added SVG support to PicButtonWidget 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 09f11bd37e GRAPHICS: Fix transparency in ManagedSurface bitmaps 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 7fe0073823 GUI: Render ManagedSurface widget with transparency 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 19de7655c1 GUI: Switch GraphicsWidget to ManagedSurface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 66f10061d2 GRAPHICS: Switch SVG renderer to ManagedSurface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 47bbc66d13 GUI: Replace logo with SVG in launcher consturctor 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 5f80a79871 GUI: Fix crash when requested 0 x 0 SVG rendering 2021-04-11 21:21:44 +02:00
Eugene Sandulenko cf4dd26571 GUI: Use SVG for ScummVM logo 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 7937c4599c GUI: Implemented GraphicsWidget::setGfxFromTheme() 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 4a58f08a37 GUI: Load SVGs from theme 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 55ae2e4367 GUI: Added SVG support to theme parser 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 37982f9eb4 GUI: Fix scaling for saveload dialog 2021-04-11 21:21:44 +02:00
Eugene Sandulenko a6afdd701a GUI: Fix scaling for clip values in theme
Fixes DropDownButton
2021-04-11 21:21:44 +02:00
Eugene Sandulenko 5282f4422f GUI: Regenerated theme files 2021-04-11 21:21:44 +02:00
Eugene Sandulenko c5fceb9899 GUI: Moved default layout spacing to themes 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 3516dc2445 GUI: Scale default spacing 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 869dd90264 GUI: THEMES: Synced global variables between all themes 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 5d6941f8b2 GUI: Move hardcoded tab title spacing to themes
This fixes HiDPI tabs rendering.
2021-04-11 21:21:44 +02:00
Eugene Sandulenko 4cf0b43c97 GUI: Avoid double scaling on widget creation 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 48faae426a GUI: Rename getBaseWidth/Height to getGUIWidth/Height
This reflects its purpose better, so the user code will be
more logical
2021-04-11 21:21:44 +02:00
Eugene Sandulenko 493a343e6a GUI: Avoid double scaling for scrollbar and tab navbuttons 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 04f040afce GUI: Reload all bitmaps on theme reload
Since now we are scaling them, it is essential to scale the originals,
otherwise we have double scaling
2021-04-11 21:21:44 +02:00