aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
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-10GUI: Allow delayed deletion of GuiObjectThierry Crozat
This is achieved by adding a list of GuiObject to delete to GuiManager and doing the deletion in GuiManager::runLoop. The main purpose of this is to avoid the deletion of ButtonWidget object while their ButtonWidget::sendCommand function is being called. For example the sendCommand of the Apply button of the OptionsDialog may cause a rebuild (if the GUI language was changed) which tries to delete the widgets inside the OptionsDialog, including the Apply button.
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-09GUI: Fix resolution of theme filename to idJoseph-Eugene Winzer
getThemeId() returned "builtin" for valid filenames because FSNode only searches for the theme filename, like "scummmodern.zip" in the current directory. listUsableThemes() searches SearchMan default directories for theme files.
2017-03-06I18N: Regenerate translations data fileThierry Crozat
2017-03-04GUI: Regenerated built-in themeEugene Sandulenko
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-03-01GUI: Increase tab title spacingWillem Jan Palenstijn
2017-02-28GUI: Fix Enumeral vs. Non-Enumeral In Conditional GCC Warning.D G Turner
2017-02-28GUI: Check rect validity for popup/radio drawingWillem Jan Palenstijn
2017-02-28GUI: Give each tab in TabWidget its own widthWillem Jan Palenstijn
The width of each tab is now computed from its title, independently of the other tabs. This increases the number of tabs that fit on the screen. This rewrite also fixes a bug where if the window size increased while _firstVisibleTab > 0, some tabs would become inaccessible when the scroll buttons were hidden. The layout key Globals.TabWidget.Tab.Width is now treated as minimal tab width. This is set so that the tabs fit reasonably well in lowres layouts. At the same time, this reduces the lowres scroll buttons heights to fit. This patch makes the Nintento DS hacks in TabWidget obsolete. (Hopefully! I'm not able to test.)
2017-02-28GUI: Clean up GlobalOptionsDialog reflow changing visible tabsWillem Jan Palenstijn
2017-02-28Merge pull request #912 from rsn8887/upstreamWillem Jan Palenstijn
SDL: fix options control tab ordering and labels
2017-02-27SDL: Fix value range checking for kbdMouseSpeedSliderrsn8887
2017-02-27I18N: Regenerate translations data fileThierry Crozat
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-13I18N: Regenerate translations data fileThierry Crozat
2017-02-11Merge pull request #895 from csnover/gui-volume-optionsEugene Sandulenko
GUI: Add three new options for volume slider controls
2017-02-07ANDROIDSDL: code refactoring...lubomyr
2017-02-06I18N: Regenerate translations data fileThierry Crozat
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-30I18N: Regenerate translations data fileThierry Crozat
2017-01-23I18N: Regenerate translations data fileThierry Crozat
2017-01-16I18N: Regenerate translations data fileThierry Crozat
2017-01-12GUI: Fix Unused Variable Compiler Warning when USE_PNG not set.D G Turner
2017-01-12GUI: Replace sprintf() with safer String::format() in KeysDialog.D G Turner
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.
2017-01-01ALL: Bump copyright year to 2017Eugene Sandulenko
2016-12-26I18N: Regenerate translations data fileThierry Crozat
2016-12-19I18N: Regenerate translations data fileThierry Crozat
2016-12-12I18N: Regenerate translations data fileThierry Crozat
2016-12-05I18N: Regenerate translations data fileThierry Crozat
2016-12-01GUI: Fix crash when slider values are out-of-boundsColin Snover
Out-of-bounds values are always indicative of a bug somewhere else, but at least not crashing here allows the user to recover by interacting with the slider control. The error will still be obvious because the associated text field will display the original weird value.
2016-11-29ALL: game state => saved gameBen Castricum
2016-11-28I18N: Regenerate translations data fileThierry Crozat
2016-11-28I18N: Regenerate translations data fileThierry Crozat
2016-11-28I18N: Regenerate translations data fileThierry Crozat
2016-11-28I18N: Regenerate translations data fileThierry Crozat