Commit Graph
584 Commits
Author SHA1 Message Date
Le Philousophe 16e72ad181 GUI: Make listing saves not depend on detection
And unload detection before loading engine.
2024-06-30 18:39:06 +02:00
Le Philousophe c93f53b491 PLUGINS: Rename getEngineFromMetaEngine to getEngineFromDetectionPlugin
Update comments and variable names accordingly.
This now matches what this function really do.
2024-06-30 18:39:06 +02:00
Le Philousophe 2645b1431c PLUGINS: Rename findPlugin to findDetectionPlugin
This function does return a MetaEngineDetection plugin
2024-06-30 18:39:06 +02:00
Abhinav Chennubhotla 5e173beaad GUI: Create 'Check Integrity' button 2024-06-14 01:15:41 +02:00
Eugene Sandulenko f09cfc83d5 GUI: Put the help button back to [?]
The "Help" inscription was too wide for vertical mobile layout.

This effectively reverts 4b51ee1f98
2024-06-03 20:30:20 +02:00
Hubert Maier 8182ce82d3 JANITORIAL: Fix pubisher typo in launcher.cpp 2024-05-18 13:52:31 +02:00
Eugene Sandulenko 4b51ee1f98 GUI: Remplace [?] with "Help"
It looks like the users do not even pay attention or have no understanding
what does "?" mean, thus, putting it into words.

Next step is to make the button jumping with animation.
2024-04-21 22:31:07 +02:00
D G Turner 4af395ebb9 GUI: Jamnitorial Cleanup of Code Formatting
No functional change.
2024-03-30 17:26:24 +00:00
kunxl-gg da3c3d097c GUI: Fix selector position after removing a game.
Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Added algorithm for feature

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Fix merge conflicts

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Added conditional statement

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Removed equality sign in getNextPos

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Fix lint issues

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Fix redundant variables

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Removed redundant include

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Fix lint issues

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>

Fix lint issues

Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in>
2024-03-28 13:47:02 +01:00
Le Philousophe ed9ded9e83 GUI: Migrate GUI to Path class 2023-12-24 13:19:25 +01:00
Le Philousophe fc3f03d21d COMMON: Make EVENT_DROP_FILE use a Path 2023-12-24 13:19:25 +01:00
Le Philousophe 460be938f3 CLOUD: Make cloud use Path for local folders and files 2023-12-24 13:19:25 +01:00
Eugene Sandulenko 2b1bc96edb GUI: ANDROID: Mention SAF when game could not be found in the specified directory 2023-12-02 15:21:11 -08:00
Eugene Sandulenko 390d01500f GUI: Added grouping by year 2023-11-10 23:45:15 +01:00
Kaloyan Chehlarski f77eca7c80 AD: Implement archive caching during detection
Renamed MD5CacheManager to AdvancedDetectorCacheManager,
and added facilities for storing open archives inside it. This
way an archive that was opened by an AdvancedDetector
will be kept in memory until the end of the detection, so
other entries/engines that will look inside it won't have
to reopen it and reread its data every time.
2023-11-02 18:20:44 +01:00
Aditya a5b3353022 ALL: Decrease header dependency for gui_options.h
Now the number of times the header file gui_options.h
is added is much smaller.
2023-10-27 01:16:32 +02:00
Thierry Crozat 8f9cdff4a7 GUI: Add function in GuiManager to query if low-res GUI should be used
The same condition was scattered around in the code to switch between
normal labels and images and their lowres counterparts. Factorizing
that condition in a function will allow changing it easily.
2023-10-09 21:04:08 +01:00
Thierry Crozat aa7572ef1e GUI: Fix testing width for lowres labels on HiDPI screens 2023-10-09 21:04:08 +01:00
Eugene Sandulenko c0511db8da GUI: Fix warning and remove leftover code 2023-09-25 23:32:05 +02:00
Eugene Sandulenko 7ca349c392 GUI: Initial code for backend help dialog 2023-09-17 00:56:28 +02:00
Ankush Dutt 2a60a4d213 DLC: Set kFeatureDLC and _dlcStore for ScummVMCloud, Playstore in backend 2023-09-14 08:22:56 +02:00
Ankush Dutt 4ae119d63f DLC: Add USE_DLC in configure for general DLC integration
- Developers will need to use --enable-dlc with configure if they want to integrate
the DLC downloader. The kFeatureDLC will determine if the target platform is supported
- USE_SCUMMVMDLC will be used specifically to compile curl based ScummVMCloud (USE_DLC
will be automatically enabled if ScummVMCloud is supported)
2023-09-14 08:22:56 +02:00
Ankush Dutt 22f912d7e0 DLC: Wrap ScummVM DLC in configure enabled feature, disabled by default 2023-09-14 08:22:56 +02:00
Ankush Dutt 3633392b6d BACKENDS: Fix launcher does not refresh after DLC download if DLC dialog is closed 2023-09-14 08:22:56 +02:00
Ankush Dutt 5059b3072e JANITORIAL: Rename download-games-dialog to dlcsdialog 2023-09-14 08:22:56 +02:00
Ankush Dutt a344e7e43f BACKENDS: Implement auto addition of DLC entry in ScummVM config after download 2023-09-14 08:22:56 +02:00
Ankush Dutt 6e8bdee909 BACKENDS: Add initial code for DLC Manager 2023-09-14 08:22:56 +02:00
Ankush Dutt 4af698b7cd GUI: Setup new dialog for Download Games 2023-09-14 08:22:56 +02:00
Ankush Dutt ec3fe97b14 GUI: Add Download Games button in Launcher 2023-09-14 08:22:56 +02:00
Miro Kropacek e4dcd46b43 GUI: Don't parse all available engines and games on startup
When statically linked, this makes about 8000 variants.

This change takes only engines and games present in a domain into
account. This speeds up loading time on slower backends quite
noticeably.
2023-06-10 23:27:57 +02:00
Miro Kropacek 09a5e47636 GUI: Add debug outputs for easier profiling 2023-06-10 23:27:57 +02:00
Miro Kropacek 6e4d7798f9 GUI: Remove redundant redraw calls
When calling any of:

- Widget::setEnabled
- EditTextWidget::setEditString
- EditableWidget::setEditString
- StaticTextWidget::setLabel

there is no need to call neither GuiManager::scheduleTopDialogRedraw nor
Widget::markAsDirty afterwards -- they set up the call by themselves.

Also, refactor a couple of code blocks into calling just
GuiManager::redrawFull as it does the same thing.
2023-05-10 22:52:48 +02:00
su-xingyu 630fe0e8d0 GUI: Fix inconsistent game title display for list and grid layout 2023-04-29 13:12:06 +02:00
wyatt-radkiewicz 660fcf329d GUI: Collapsed game groups are persisted
GroupedListWidget and GridWidget can save what groups they have
collapsed to the config file and reload them. "launcher.cpp" uses those
functions to persist those collapsed groups through
  - changing how the games are grouped by
  - going from list to grid mode and vice versa
  - quitting scummvm and starting it again
2023-04-12 16:07:58 +02:00
Cameron Cawley fb2503d02e GUI: Only use a transparent colour for BMP images 2023-04-09 12:54:38 +02:00
Eugene Sandulenko 071ce9ef29 GUI: Add I18N comments to the launcher buttons 2023-03-26 18:02:27 +02:00
Walter Agazzi 83b2ce00d7 GUI: Display titles in alternate color if unreachable 2023-03-20 19:26:44 +01:00
Eugene Sandulenko c1478cd1e6 GUI: Fixed search icon tooltip 2023-01-08 01:15:52 +01:00
Cameron Cawley 67a57e945d GUI: Improve support for group selection in the launcher on small screens 2022-12-25 16:26:26 +01:00
Le Philousophe 1af0e814e1 GUI: In grid launcher group by title to match what is displayed 2022-10-08 16:55:56 +02:00
Le Philousophe 1041c69710 GUI: Unify games listing between choosers
And avoid building of useless array
2022-10-08 16:55:56 +02:00
Le Philousophe 476b82ec84 GUI: Use engine ID to match metadata
This avoids classifying Cryo Atlantis as LucasArts game and Indiana Jones
series
2022-10-08 16:55:56 +02:00
Le Philousophe aa5da2e140 GUI: Don't pass U32String by value 2022-09-18 16:15:56 +02:00
Walter Agazzi f428b2a12f GUI: Add overlay to show demo status on thumbnails 2022-08-27 01:15:19 +03:00
Donovan Watteau 27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Thierry Crozat b248add106 GUI: Improve thread-safety for icons set access
The previous commit was not sufficient as getIconsSet() returns a
reference to the SearchSet and it could then be used after the
mutex had been unlocked and while it was being modified in
initIconsSet() called in another thread.
2022-07-02 21:46:14 +02:00
Thierry Crozat 8cda1fe870 GUI: Change the mechanism to update the grid launcher after upding the icons
The icons download dialog was triggering the grid launcher update after
icons had been downloaded. But that means no update was done if the
dialog had been closed during the download.

Now the GUIManager triggers the update. This fixes the missing update
when hiding the download dialog while downloading an icon set.
2022-07-02 21:46:14 +02: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