4892 Commits

Author SHA1 Message Date
Eugene Sandulenko
c8cc2c46f7 GUI: Use theme colors for RichText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
e555528a42 GUI: Expose theme text colors int ThemeEngine 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
2b498a0ff1 GUI: Do not override GUI cursor for RichText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
5e895c6af5 GUI: Added extrapath to SearchMan before initializing WM in RichText
This lets us find macgui.dat and classicmacfonts.dat
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
345706521c GUI: Fixed font setting in RichText 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
aeb925a790 GUI: Added more text to HelpDialog test 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
5719847354 GRAPHICS: MACGUI: Pass setMarkdownText through MacTextWindow 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
db62679c74 GUI: Use proper font in RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
76dbb66489 GUI: Added RichText to HelpDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
57568e8fdf GUI: Further work on RichText widget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
f048d170e7 GUI: Added stubs for RichTextWidget 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
5653eccba4 GUI: Propagate tab vertical flip to the VectorRenderer 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
6d6a7a9b3a GUI: First step to draw tabs on bottom 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
7f3d615500 GUI: Proper dialog dimensions for HelDialog 2023-09-17 00:56:28 +02:00
Eugene Sandulenko
7ca349c392 GUI: Initial code for backend help dialog 2023-09-17 00:56:28 +02:00
Ankush Dutt
0806d04dfd DLC: Add generated theme files 2023-09-14 08:22:56 +02:00
Ankush Dutt
c1d1e4e411 DLC: Add dlcpath in Global Options 2023-09-14 08:22:56 +02:00
Ankush Dutt
24392d4838 DLC: Add lowres_layout.stx and generated theme files 2023-09-14 08:22:56 +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
097b049aea DLC: Use forward declaration where appropriate 2023-09-14 08:22:56 +02:00
Ankush Dutt
896793eb2c JANITORIAL: Change StaticTextWidget's text of dlcsdialog 2023-09-14 08:22:56 +02:00
Ankush Dutt
9292288626 JANITORIAL: Move enum to cpp of downloaddlcsdialog.h 2023-09-14 08:22:56 +02:00
Ankush Dutt
3d841a59e0 DLC: Use const, uint32 and reference where appropriate 2023-09-14 08:22:56 +02:00
Ankush Dutt
6f5587fcd0 GUI: Fix crash if a game is downloaded when last item is selected in pending DLC downloads 2023-09-14 08:22:56 +02:00
Ankush Dutt
8774429891 JANITORIAL: Fix defines and code formatting 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
3bba45bd5c GUI: Add error label in downloaddlcsdialog 2023-09-14 08:22:56 +02:00
Ankush Dutt
2f6b87f0d4 GUI: Improve DLC download request indication 2023-09-14 08:22:56 +02:00
Ankush Dutt
a4329e21b9 GUI: Disable download button when no item is selected in DLC browsing dialog 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
13dc800e96 BACKENDS: Implement interrupt/cancel pending DLC downloads 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
f976ecded4 GUI: Initial code to show DLC download progress 2023-09-14 08:22:56 +02:00
Ankush Dutt
750a196c05 GUI: Remove CommandSender's target when DLC dialog is destructed
- This will prevent segmentation fault when a command is sent after
the dialog is closed
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
6a269c6b06 BACKENDS: Implement get DLC list on request and redraw dialog once DLCs are fetched
This commit will add functionality to only fetch the DLCs from the server
on clicking the button for browsing DLCs. Before, we were fetching the DLCs on start.
The dialog will redraw once the DLCs are fetched. The fetched DLCs are cached.
2023-09-14 08:22:56 +02:00
Ankush Dutt
2c987fbba5 GUI: Fix graying out DLCs to use String for id 2023-09-14 08:22:56 +02:00
Ankush Dutt
5ac2efcf5c BACKENDS: Populate dlc list using getAllDLCs() response 2023-09-14 08:22:56 +02:00
Ankush Dutt
c0f91421cc BACKENDS: Initial code for downloading DLCs using CURL 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
0fa82ea4ae GUI: Gray out already downloaded games
This change makes the downloadable games entries grayed out for
already downloaded games. For graying out we are scaning game
entries in scummvm.ini for unique "download" keys.
2023-09-14 08:22:56 +02:00
Ankush Dutt
3b8c7f0d72 GUI: Create download button command for downlad games dialog 2023-09-14 08:22:56 +02:00
Ankush Dutt
4a73a002ca GUI: Add ListWidget for download games dialog 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
antoniou79
86d1853ab2 GUI: Increase position range for a slider value
This makes it so that half the space before and after a slider value is assigned to that value

Currently for sliders with small value range, the only ways to set them to the highest value is
to either use the mouse wheel scroll, or click and drag, or click at a pixel of the far edge of the slider.
This PR addresses the final option, making it a bit easier to get the final value when using simple clicks.
It still uses integer division to get the slider value from the click position, but "divides" the space between
two values in half, assigning the first half to the left (smaller) value and the right half to the right (higher).

This was inspired mainly for touchsreen interfaces where simple tap is the main form of interaction
(and mouse wheel or click and drag may not be supported or more difficult to pull through).
2023-09-11 22:22:26 +02:00
PushmePullyu
4c092c26ba GUI: GridWidget: Remove redundant scroll bar update
sortGroups(): Move the call to scrollBarRecalc() up and delete
superfluous code so the scroll bar is only updated once.
2023-09-03 21:39:01 +03:00
PushmePullyu
277de28b3e GUI: GridWidget: Update scroll bar position early in sortGroups()
Propagate changes in GridWidget::_scrollPos to
ScrollBarWidget::_currentPos before calling
ScrollBarWidget::checkBounds().

Fixes #14551
2023-09-03 21:39:01 +03:00
Cameron Cawley
9c86add634 ENGINES: Remove MetaEngineDetection::parseAndCustomizeGuiOptions() 2023-08-28 22:59:50 +02:00