av-dx
4d07dd48e3
GUI: Switch to GridItemInfo struct from LauncherEntry
2021-11-12 14:46:34 +01:00
av-dx
f09a05cbb4
GUI: Dynamically "load" thumbnails during scroll or resize
2021-11-12 14:46:34 +01:00
av-dx
823474faaf
GUI: Remove gridFromList() to move code to reflowLayout()
2021-11-12 14:46:34 +01:00
av-dx
b6ccca78c0
GUI: Move Grid Initialisation to reflowLayout()
2021-11-12 14:46:34 +01:00
av-dx
64afe7a55f
GUI: JANITORIAL: Fix misleading/ambigous names
2021-11-12 14:46:34 +01:00
av-dx
50611aa60b
GUI: Fix transitive clipping behaviour
2021-11-12 14:46:34 +01:00
av-dx
43d864e97a
GUI: Fix grid scroll going offscreen
2021-11-12 14:46:34 +01:00
av-dx
6628e1d445
GUI: Recheck visibility on reflow
2021-11-12 14:46:34 +01:00
av-dx
b931a37028
GUI: Make use of scaleGfx() to scale icons
2021-11-12 14:46:34 +01:00
av-dx
c664c77ea1
GUI: Remember scroll position on resizing window
2021-11-12 14:46:34 +01:00
av-dx
2900553a43
GUI: Reflow Grid when window size changes
2021-11-12 14:46:34 +01:00
av-dx
181fdcdb43
GUI: Use iterators instead of indexing in for loop
2021-11-12 14:46:34 +01:00
av-dx
34cb198dee
GUI: Group entries by "gameid".
2021-11-12 14:46:34 +01:00
av-dx
2f2c1dae94
GUI: Use Common::FSNode for reading files.
2021-11-12 14:46:34 +01:00
av-dx
059deb0e50
MISC: Remove temporary warnings
2021-11-12 14:46:34 +01:00
av-dx
dc878846ee
GUI: Create new widgets for the grid system.
2021-11-12 14:46:34 +01:00
av-dx
999c5d2bc6
GUI: Testing grid view with constraints
2021-11-12 14:46:34 +01:00
Cameron Cawley
d460f8f70a
GUI: Avoid showing ellipses in smaller labels
2021-10-12 23:29:21 +01:00
Cameron Cawley
b444f53685
GUI: Specify the spacing for checkboxes and radio buttons in the theme files
2021-10-12 23:27:07 +01:00
antoniou79
0b10088110
JANITORIAL: Fix wrong spacing for return commands
2021-06-30 18:12:32 +02:00
antoniou79
8a04060c68
GUI: Increase scope of setGfx() fix to more setGfx() of relevant widgets
...
Fix is to not proceed with setGfx except for freeing _gfx mem, if widget or its boss is invisible
2021-06-30 18:12:32 +02:00
antoniou79
6fb05fceeb
GUI: If GraphicsWidget is hidden do not proceed with GraphicsWidget::setGfx()
...
Removes interfering invisible thumbnail with list item selection in saveload-dialog (OpenGL, large scale)
I'm issuing this as a PR because I'm unsure if this fix is ok, since it affects all GraphicsWidget objects, not just the one for thumbnail in saveload-dialog. Also not sure if some similar check should be done in the other setGfx() methods in widget.cpp to prevent similar issues.
Note that an alternative fix, which also works, would be to only modify gui/saveload-dialog.cpp and method SaveLoadChooserSimple::updateSelection(), to check for _gfxWidget isVisible status before calling: _gfxWidget->setGfx(thumb, true);
2021-06-30 18:12:32 +02:00
Mathias Parnaudeau
032d030060
GUI: Fix leak of ManagedSurface in PicButtonWidget
...
Opening the load dialog, to display thumbnails into PicButtonWidget objects,
a call to setGfx creates a temporary ManagedSurface from a Surface but is
not instantiated, so not freed.
Same fix applied in GraphicsWidget which code is the same and reported
as potential memory leak by clang-tidy.
2021-05-12 10:40:56 +02:00
Martin Gerhardy
9d82fa51df
COMMON: removed USE_TTS check from engines
...
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
Eugene Sandulenko
c0f33c73f0
GUI: Fix scale sync for GraphicsWidget
2021-04-18 10:07:40 +02:00
Eugene Sandulenko
9bcffc97ee
GUI: Fix regression in PictureWidget which led to double scaling
2021-04-17 19:41:09 +02:00
Eugene Sandulenko
36755f2276
GUI: Add parameter for optional scaling GraphicsWidget
2021-04-17 15:04:35 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +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
0fc5c4c391
GUI: Keep SVGs in 32-bit format until very rendering
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
bd083c7fa7
GUI: Switch GUI to ManagedSurface
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
51525eeb43
GUI: Added SVG support to PicButtonWidget
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
5f80a79871
GUI: Fix crash when requested 0 x 0 SVG rendering
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
493a343e6a
GUI: Avoid double scaling for scrollbar and tab navbuttons
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
Eugene Sandulenko
7a3752b394
GUI: Scale gfx from PicButtonWIdget. This fixed Hugo top menu
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
003f4a4499
GUI: Do not double scale PicButtons
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
25ed466e3f
GUI: Fix stretching of PicButtonWidget
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
12245ffb3b
GUI: Scale images in HiDPI
2021-04-11 21:21:44 +02:00
DivyamAhuja
3891055214
GUI: Fix caching of Edit Game dialog layout
2021-04-09 17:46:38 +02:00
Matthew Jimenez
f9f7d0eb10
GUI: Generate ExtraGuiOptions dynamically in a scrollable container ( #2783 )
...
This allows for the removal of hardcoded extra GUI options from the
theme files, and lifts restrictions related to the maximum number
of allowed ExtraGuiOptions
2021-02-20 13:17:11 +02:00