Commit Graph
137148 Commits
Author SHA1 Message Date
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 a299f8b8f7 GRAPHICS: Retain original SVG transparency and expose its pixelformat 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 916859ab86 GRAPHICS: Added (hacky) blitManagedSurface
So far, it is hardcoded, but in reality we need to merge
ManagedSurface and TransparentSurface and add blit() methods
to TransparentSurface
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 9894efd574 GRAPHICS: Added copyFrom(Surface) to ManagerSurface 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 6b785ecdd0 GRAPHICS: Fix pixelformat for SVG 2021-04-11 21:21:44 +02:00
Eugene Sandulenko b19fd0b60f GRAPHICS: Properly scale SVG image on rendering 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 f78155b12f GRAPHICS: Fix rounded square rendering 2021-04-11 21:21:44 +02:00
Eugene Sandulenko a03b3091d2 SCUMM: Avoid double scaling in Help dialog 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
Eugene Sandulenko 9c8a0d083b GUI: Retain aspect ratio when scaling GUI bitmaps 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 3df69113f3 GUI: Fix missing GraphicsWidget gfx in some cases 2021-04-11 21:21:44 +02:00
SupSuper 0b25368f7c WIN32: HiDPI support 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 88fa55c7c6 GRAPHICS: Fix warnings 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 40018d0882 GRAPHICS: Initial code for SVG rendering 2021-04-11 21:21:44 +02:00
Eugene Sandulenko a5f6866d49 GUI: Scale spacing in themes 2021-04-11 21:21:44 +02:00
Eugene Sandulenko f769cd6526 GUI: Fix oversized keymapper controls 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 7a3752b394 GUI: Scale gfx from PicButtonWIdget. This fixed Hugo top menu 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 9254142207 HUGO: Fix top menu dimensions on scaling 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 81e194d458 GUI: Scale GUI object on resize 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 735ec7367d GUI: Remove dirty Symbian-related hack 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 9e746e04f2 GUI: Always scale padding 2021-04-11 21:21:44 +02:00
Eugene Sandulenko bdabb88acd GUI: Sync all themes with 'scalable' and bump theme version 2021-04-11 21:21:44 +02:00
Eugene Sandulenko db88f4db05 GUI: Avoid double scaling of referenced variables 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 982e500660 GUI: Added 'scalable' parameter to theme variables 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 7a09662701 GRAPHICS: Fix artifacts in rounded square border drawing in GUI 2021-04-11 21:21:44 +02:00
Eugene Sandulenko 7a23d859a5 BACKENDS: Lower hidpi scaling to factor of 1.5 2021-04-11 21:21:44 +02:00
Eugene Sandulenko d641759632 ENGINES: Properly detect GMM layout size in HiDPI 2021-04-11 21:21:44 +02:00
Eugene Sandulenko e92c783c2c GUI: Fix center layout in HiDPI 2021-04-11 21:21:44 +02:00