aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
AgeCommit message (Collapse)Author
2018-07-29GUI: Fix graphics options visibility depending on supported featuressThierry Crozat
2018-07-22GUI: Use consistent capitalization for optionsThierry Crozat
As discussed on the mailing list we should use title capitalization only for push buttons and tabs and use sentence capitalization for everything else.
2018-07-22GUI: Fix crash when accessing options from GMMThierry Crozat
2018-07-22GUI: Use ScrollContainer in graphics tabThierry Crozat
This fixes bug #10634 - GUI: Options cutoff for Edit Game when Graphics mode is x2 or less
2018-07-08GUI: Add Stretch Mode selection in Options dialogThierry Crozat
2018-01-27GUI: Remove Dialog::markAsDirty to expose full GUI redrawsBastien Bouclet
2018-01-27GUI: Implement dirty-checking for widget redrawsBastien Bouclet
2018-01-13GUI: never enable checkbox if GUI_ONLY_FULLSCREEN is setrsn8887
2017-12-26SDL: Cleanup joystick deadzone handlingBastien Bouclet
2017-12-03BASE: Remove bad casts between incompatible Plugin typesColin Snover
Previously, a C-style cast was used to convert a Common::Array<Plugin *>, populated with pointers to StaticPlugin and DynamicPlugin instances, to a Common::Array<PluginSubclass<T> *>, but PluginSubclass<T> is a *sibling* class to StaticPlugin/DynamicPlugin, so this cast was invalid and the results undefined. The methods for retrieving subclasses of plugins can't be easily changed to just generate an array of temporary wrapper objects that expose an identical API which dereferences to the preferred PluginObject subclass because pointers to these objects are retained by other parts of ScummVM, so the wrappers would needed to be persisted or they would need to just re-expose the underlying Plugin object again. This indicated that a way to solve this problem is to have the callers receive Plugin objects and get the PluginObject from the Plugin by explicitly stating their desired type, in a similar manner to std::get(std::variant), so that the pattern used by this patch to solve the problem. Closes gh-1051.
2017-09-12GUI: Remove mostly-broken audio output sample rate controlColin Snover
Removing this GUI control was suggested as far back as 2011 at <http://lists.scummvm.org/pipermail/scummvm-devel/2011-November/010416.html>. There were no objections, but it was never removed. When working on audio latency bugs, I independently rediscovered that the GUI option was broken: the per-game options would *never* work, and the option would not take effect until ScummVM was restarted because there is no API for interacting with the backend audio mixer. So now, it is finally gone. Primarily for the sake of future troubleshooting, configurability of the audio sample frequency within SdlMixerManager is maintained for the moment, but now users will need to edit their ScummVM configuration file manually to change it.
2017-06-13GUI: Focus the first 'focusable' widget when rebuilding dialogsBastien Bouclet
Fixes Trac#9838.
2017-04-09Merge pull request #921 from Joefish/PR_9711Thierry Crozat
GUI: Restore previous settings if GUI cannot be rendered
2017-04-06GUI: Restore settings if GUI cannot be renderedJoseph-Eugene Winzer
PR#921 changes the behavior of the client that if the GUI fails to be rendered the previously applied settings in the misc category are restored. Error messages were altered according to the changes. Bug: #9717 GUI: Indirectly changing 'GUI Language' can produce inconsistent behaviour when changing some options.
2017-03-20GUI: Fix GCC Warnings.D G Turner
2017-03-10GUI: Delay deletion of child widgets when rebuilding launcher and options dialogThierry Crozat
This is to avoid writing in deleted memory in the ButtonWidget::sendCommand when the sent command results in the parent dialog being rebuilt.
2017-03-09GUI: Fix Theme Label in Options->MiscJoseph-Eugene Winzer
The theme label in the Misc tab will not change to the correct theme when current language and theme is changed and 'apply' pressed. loadNewTheme() does not do a rebuild of all widgets, including the theme label, like it is explicitly done in the 'language section'. The problem is that rebuild() uses the currently applied settings to rebuild all widgets. Although a new theme was selected by the user the label will be overwritten with the name of the still active theme. By rearranging the logic a complete rebuild of the GUI is done and updates the widgets correctly.
2017-03-04Merge pull request #915 from rsn8887/vitaEugene Sandulenko
PSP2: Add Playstation Vita support
2017-03-04PSP2: Add Playstation Vita (PSP2) supportcpasjuste
2017-03-04GUI: Remove useless translationsEugene Sandulenko
2017-03-01Merge pull request #911 from wjp/tabsEugene Sandulenko
GUI: Improve tab widget
2017-02-28GUI: Fix Enumeral vs. Non-Enumeral In Conditional GCC Warning.D G Turner
2017-02-28GUI: Clean up GlobalOptionsDialog reflow changing visible tabsWillem Jan Palenstijn
2017-02-27SDL: Fix value range checking for kbdMouseSpeedSliderrsn8887
2017-02-26SDL: fix options control tab ordering and labelsrsn8887
- control options tab is moved past graphics options tab - control tab is not the default anymore - changed label of "Mouse Speed" option to "Pointer Speed" - changed Pointer Speed infotip description to make it more clear
2017-02-22SDL: Fix erratic analog pointer + control optionsrsn8887
Fixes erratic speeds in analog pointer motion Implemented option to set analog/keyboard pointer speed and control the analog joystick deadzone. The deadzone option appears only if the build supports analog joystick (via JOY_ANALOG define)
2017-02-21Merge pull request #905 from lubomyr/masterEugene Sandulenko
ANDROIDSDL: added tab Control in main Options menu for switching some features
2017-02-18ANDROIDSDL: config feature swap_menu_and_back renamed to ↵lubomyr
swap_menu_and_back_buttons
2017-02-15GUI: Fix CID #1362505Alexander
The case probably would never show up, just fixed so it'd disappear from Coverity.
2017-02-14ANDROIDSDL: implemented checkbox for swap menu and back buttonslubomyr
2017-02-14ANDROIDSDL: backend related checking in options.cpp replaced with ↵lubomyr
hasFeature... condition, renamed some fields and methods
2017-02-07ANDROIDSDL: code refactoring...lubomyr
2017-02-05GUI: Add three new options for volume slider controlsColin Snover
GUIO_NOSPEECHVOLUME can be used for games that allow toggling of speech but do not provide the ability for users to control speech volume. GUIO_LINKMUSICTOSFX and GUI_LINKSPEECHTOSFX can be used for games that allow control of music, sfx, and speech in combinations, like games that provide control of digital audio separately from MIDI, or games that only control all three audio types through a single volume control.
2017-01-31ANDROIDSDL: implemented checkbox for show/hide on-screen control in Options menulubomyr
2017-01-31ANDROIDSDL: fixed in-game menu crash, removed unused methodlubomyr
2017-01-30ANDROIDSDL: implemented checkbox for change mouse mode in Options menulubomyr
2017-01-10GUI: Suppress Unused Variable Warning For Some Build Configurations.D G Turner
This fix is not totally clean as it spuriously uses the serverLabelPosition variable in one case of the preprocessor ifdef configuration, but with the current structure, this is a simple hack to fix. A better solution would be to rewrite some of these functions to remove some of the preprocessor usage if possible.
2016-10-30GUI: Allow changing the GUI language without restarting ScummVMThierry Crozat
2016-10-30GUI: Add possibility to rebuild the options dialogThierry Crozat
This will be needed to allow changing the GUI language and applying the change without having to close the dialog.
2016-10-30GUI: Only change theme when applying new optionsThierry Crozat
Unlike other options in the OptionsDialog, the theme change was done when selecting a new theme and not when clicking on OK or Apply. This commit makes it consistent with other options
2016-10-30GUI: Add Apply button in global options dialogThierry Crozat
2016-10-22GUI: Fix incorrect initialisation of some tab Ids in OptionsDialogThierry Crozat
A value of 0 is valid for tab ids, so the correct initialisation at this stage is -1. However only one constructor properly initialized all the tab ids to -1 in its initialisation list, but it was then changed to 0 in init(). I have added the missing ones to the other constructors and removed the incorrect ones in init(). But maybe all tab ids should be initialised in init() rather than in the constructors initialisation lists.
2016-10-17ALL: Fix compilation with enabled sdl_net and disabled cloudEugene Sandulenko
2016-10-17ALL: Fix compilation with disabled cloud but enabled libcurlEugene Sandulenko
2016-10-16GUI: Fix compilation when cloud is disabled but libcurl is notThierry Crozat
2016-10-13GUI: Add checkbox and config option to enable/disable graphics filteringThierry Crozat
2016-10-12GUI: Fix wrong error messages when failing to change some graphics settingsThierry Crozat
2016-10-09GUI: Do not disable Aspect ratio checkbox with only-fullscreen optionEugene Sandulenko
2016-09-18ALL: Homogeneize use of 'saved game' in messagesThierry Crozat
2016-09-04CLOUD: Improve some labelsThierry Crozat