Commit Graph
595 Commits
Author SHA1 Message Date
Filippos Karapetis e157b7044e GUI: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Thierry Crozat aa1f22fc93 Revert "GUI: Disable load button in list launcher if no savegame exists"
This reverts commit 979a17edc4.
2025-01-02 17:43:06 +01:00
Thierry Crozat f0bc6fc438 Revert "GUI: Move code to detect if load from launcher is available to separate function"
This reverts commit d0b31d819d.
2025-01-02 17:43:06 +01:00
Thierry Crozat 2811013ada Revert "GUI: Disable load button in Grid Launcher when no savegame can be loaded"
This reverts commit a86405389a.
2025-01-02 17:43:06 +01:00
Thierry Crozat a86405389a GUI: Disable load button in Grid Launcher when no savegame can be loaded 2024-12-24 13:17:02 +02:00
Thierry Crozat d0b31d819d GUI: Move code to detect if load from launcher is available to separate function 2024-12-24 13:17:02 +02:00
Thierry Crozat 979a17edc4 GUI: Disable load button in list launcher if no savegame exists 2024-12-24 13:17:02 +02:00
Eugene Sandulenko dc5b7b05c9 GUI: Sync SAF-related messages 2024-11-15 14:49:50 +01:00
Eugene Sandulenko 0d328f8582 GUI: ANDROID: Add better wording for missing SAF permissions 2024-11-15 14:43:27 +01:00
tunnelsociety 92ad64cf4b JANITORIAL: GUI: Fix typos in launcher 2024-09-29 21:28:28 +02:00
Le Philousophe 867cbfcd0d ANDROID: Create a dedicated define for Android backend
This allows other backends (SDL, libretro) to be used on Android without
hacks.
2024-09-02 20:53:57 +03:00
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