Le Philousophe
763517fdfe
GUI: Make GridWidget accept focus
...
This avoids the filter text to take the focus.
In Android this prevents the launcher to start with the virtual keyboard
displayed.
In the future, the widget could also take keyboards event into account
like the ListWidget one.
2022-08-27 09:19:53 +02:00
Walter Agazzi
f428b2a12f
GUI: Add overlay to show demo status on thumbnails
2022-08-27 01:15:19 +03:00
Thierry Crozat
5ea034391b
GUI: Add slider for Grid Launcher icon size
2022-06-12 22:08:53 +01:00
Le Philousophe
b94ad4d8b8
GUI: Implement setSelected in Grid and use it in launcher
2022-06-10 00:52:14 +02:00
Le Philousophe
d2f327921c
GUI: Don't store GridItemInfo items twice
2022-06-10 00:52:14 +02:00
Eugene Sandulenko
a6bc1d5876
GUI: Fixed grid view for long games list
...
We used Common::Rect which uses in16 for its members. Lomger lists
exceeded 32,768 in heights, thus, leading to negative numbers. As a result,
scrollbar was not showing up.
2022-06-02 17:40:42 +02:00
SupSuper
22711c9d0d
GUI: Show full game description in grid view tooltip
2022-04-02 05:52:06 +01:00
SupSuper
95f8fc1218
GUI: Handle grid fallback icons more gracefully
...
Always use the full ID as thumbPath
2022-04-01 08:11:03 +01:00
SupSuper
dd4d8fc859
GUI: Add engine icon fallbacks to GridWidget thumbnails
2022-03-29 05:29:11 +01:00
SupSuper
57d0df273e
GUI: Scale grid widget icons with filtering
2022-02-22 17:46:21 +00:00
Le Philousophe
0802db2a4e
GUI: Initialize language and platform even if unused
2022-01-06 19:39:05 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Torbjörn Andersson
934567a87c
GUI: Fix grid memory leaks
...
Clearing a HashMap doesn't delete the objects stored inside it, so do
that explicitly.
2021-11-16 13:34:17 +01:00
Torbjörn Andersson
c420983634
GUI: Don't leak tray dialogs
...
Since the dialog isn't used outside of the function, I've also made the
variables local.
2021-11-15 09:46:01 +01:00
Eugene Sandulenko
1661fa1ba6
GUI: Read icons and metadata from gui-icons.dat
2021-11-12 14:46:34 +01:00
Eugene Sandulenko
109beb4f86
GUI: Explicitely use Common:: namespace
2021-11-12 14:46:34 +01:00
Eugene Sandulenko
e5d1701220
GUI: Fix warnings
2021-11-12 14:46:34 +01:00
av-dx
009280aa53
GUI: Add filtering to grid view
2021-11-12 14:46:34 +01:00
av-dx
ddad1628e2
GUI: Protect few GridWidget members
2021-11-12 14:46:34 +01:00
av-dx
4e128abe3f
GUI: Remove grouping test in grid.h
2021-11-12 14:46:34 +01:00
av-dx
07a25290b3
GUI: Get platform and flag icon size from theme
2021-11-12 14:46:34 +01:00
av-dx
af969a48f3
GUI: Add scrollToEntry() function in the grid
2021-11-12 14:46:34 +01:00
av-dx
440ad82504
GUI: Remove redundant constructors
2021-11-12 14:46:34 +01:00
av-dx
d175762444
JANITORIAL: Follow naming convention for class members
2021-11-12 14:46:34 +01:00
av-dx
dc291ee56e
GUI: Add metadata XMLs and MetadataParser
2021-11-12 14:46:34 +01:00
av-dx
751490d82c
GUI: Invalidate visible grid when toggling groups
2021-11-12 14:46:34 +01:00
av-dx
46c804986d
GUI: Add group header formatting to grid view
2021-11-12 14:46:34 +01:00
av-dx
0c59bb0801
GUI: Find the last visible item via binary search
...
Store last visible item instead of an estimate of total items on screen
2021-11-12 14:46:34 +01:00
av-dx
01030ab10f
GUI: Add variables for grid padding
2021-11-12 14:46:34 +01:00
av-dx
4674cfa838
GUI: Move tray icon assignment to reflowLayout()
2021-11-12 14:46:34 +01:00
av-dx
4fb800b591
JANITORIAL: Formatting fixes
2021-11-12 14:46:34 +01:00
av-dx
79a8ca9710
GUI: Move calculation of entry sizes into a function
2021-11-12 14:46:34 +01:00
av-dx
477407f14c
JANITORIAL: Formatting fixes
2021-11-12 14:46:34 +01:00
av-dx
a6928f6baf
GUI: Add toggleGroups() and call it on clicking headers
2021-11-12 14:46:34 +01:00
av-dx
fb9c232f25
GUI: Get size and position of grid item from GridItemInfo
2021-11-12 14:46:34 +01:00
av-dx
6c2fdec8a8
GUI: Test grouping (not rendered)
2021-11-12 14:46:34 +01:00
av-dx
24e82ddd42
GUI: Change _visibleEntries into a list of pointers
2021-11-12 14:46:34 +01:00
av-dx
18066e3f77
GUI: Change _selectedEntry from int to GridItemInfo *
2021-11-12 14:46:34 +01:00
av-dx
2942c54abe
GUI: Add isHeader bool to GridItemInfo
2021-11-12 14:46:34 +01:00
av-dx
7fc050a084
GUI: Fix unnecessary negation of _scrollPos
2021-11-12 14:46:34 +01:00
av-dx
85fa7a26ff
JANITORIAL: Protected few GridWidget members as appropriate
2021-11-12 14:46:34 +01:00
av-dx
e8bee56f9a
JANITORIAL: Formatting fixes
2021-11-12 14:46:34 +01:00
av-dx
c9b8cb1a0e
GUI: Replace enum-indexed arrays with HashMaps
2021-11-12 14:46:34 +01:00
av-dx
828361b84d
GUI: Store language as Common::Language in GridItemInfo
2021-11-12 14:46:34 +01:00
av-dx
96e563b752
GUI: Load platforms from g_platforms[] list
2021-11-12 14:46:34 +01:00
av-dx
6ce75d06f4
GUI: Add config option for icons' path
2021-11-12 14:46:34 +01:00
av-dx
1754333308
GUI: Replace breakText with Font::wordWrapText()
2021-11-12 14:46:34 +01:00
av-dx
0f9d0000f7
JANITORIAL: Replaced repetitive 'typdef's with 'using'
2021-11-12 14:46:34 +01:00
av-dx
1f18febade
JANITORIAL: Formatting fixes
2021-11-12 14:46:34 +01:00
av-dx
04815382c9
GUI: Add grid specific cmds to LauncherGrid
2021-11-12 14:46:34 +01:00