aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
AgeCommit message (Collapse)Author
2019-08-18GUI: Check if fullscreen is available at runtimeCameron Cawley
2019-08-09GUI: Enable missing translation in Cloud options dialogLothar Serra Mari
2019-08-04GUI: Fix Options' Cloud tab scrollbar issueAlexander Tkachev
Calling reflowLayout() not only updates the layout (as setupCloudTab() was already doing), but also recalculates scrollbar. The issue was that old layout didn't need a scrollbar, but updated layout did. But, ScrollContainer was not notified, and thus scrollbar didn't appear (until user tried to reselect the Storage via popup).
2019-08-03GUI: Fix GCC Compiler Warning in Cloud TabD G Turner
This comment for fall through to prevent the compiler warning about this has to be at the point of fallthrough i.e. outside the grouping brackets to be effective.
2019-07-30GUI: Fix translation context for Cloud and LAN tabsThierry Crozat
2019-07-30GUI: Fix a label in Cloud tabAlexander Tkachev
2019-07-30CLOUD: Ask user to manually enable StorageAlexander Tkachev
For more security, newly connected Storage only gets username/used space information and is disabled until user manually presses the button.
2019-07-30CLOUD: Minor fixes for the PR#1754Alexander Tkachev
- added missing 'd' in "%d" in SavesSyncRequest; - removed trailing ',' in enum in gui/options.h; - fixed #endif to have // before USE_LIBCURL in gui/options.h.
2019-07-30GUI: Change 'Wi-Fi Sharing' tab name to 'LAN'Alexander Tkachev
2019-07-30GUI: Add feature description into Wi-Fi Sharing tabAlexander Tkachev
2019-07-30GUI: Fix Cloud tab scrolling problemAlexander Tkachev
GlobalOptionsDialog is now also a CommandSender, so it could send command "scroll to the top" when storage is disconnected in Cloud tab (layout updates, that's why scrolling is needed).
2019-07-30GUI: Make Cloud tab wizard input box cleanup valueAlexander Tkachev
Now input box does not remember old code you've put in it if you changed selected storage or disconnected one.
2019-07-30GUI: Fix Cloud tab wizard elements displaying after connecting storageAlexander Tkachev
Elements were displayed until scrollbar was used, now they are hidden right after storage is connected.
2019-07-30GUI: Separate Cloud tab in twoAlexander Tkachev
All local webserver-related settings are now shown in a separate, "Wi-Fi Sharing" tab (shown if built with USE_SDL_NET). Cloud tab is only shown if actual cloud storages are built (USE_LIBCURL).
2019-07-30GUI: Rewrite Cloud tabAlexander Tkachev
- StorageWizardDialog is removed, along with bmps it was using; - EditTextWidget now accepts custom font in constructor; - ScrollContainer scrollbar now jumps to top when content height changes so it's "overscrolled"; - IndexPageHandler now does not awaits for `code` GET-parameter, as local webserver is no longer used to connect Storages; - CloudManager and all corresponding Storages are updated to support disconnecting and to notify about successful connection.
2019-07-30COMMON: Add getHumanReadableBytes() in util.hAlexander Tkachev
This function was used in cloud-related DownloadDialog before, and now it is also used in Options > Cloud tab.
2019-02-10GUI: Revert of accidental changePeter Kohaut
Revert of a change which I accidentaly commited during bladerunner development.
2019-02-10BLADERUNNER: Use ScummVM functionality for audio volume managementPeter Kohaut
2018-12-18GUI: Fix defaulting of "Use native system file browser" checkboxTarek Soliman
2018-12-17COMMON: Rename enum variable for native browser featureThierry Crozat
There was a typo in the name (missing 'r' in browser).
2018-12-17GUI: Add missing space in tooltip stringThierry Crozat
2018-12-16GUI: Add option to enable/disable using the system file browserThierry Crozat
2018-12-02GUI: Add an option to set the GUI language to the game languageBastien Bouclet
2018-11-14GUI: Don't display the ScrollContainer background inside tabsBastien Bouclet
Fixes #10645.
2018-11-04BACKENDS: Remove references to the GP32 backendCameron Cawley
2018-10-22GUI: Unset stretch-mode in game settings not overriding global settingsThierry Crozat
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