aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2017-06-26I18N: Regenerate translations data fileThierry Crozat
2017-06-20GUI: Separate bevel and shadow effect when extending widget rectThierry Crozat
When widget::draw() is called it asks the ThemeEngine to redraw the background first and then the widget gets redrawn in drawWidget(). The ThemeEngine uses an extended rect to restore the background to include bevel and shadow effects. However if this extended rect overlaps with other widgets, since those other widgets are not redrawn, a part of those will be missing. See for example bug #6394: GUI: List View save page drawns over font. In case we get overlap we might need to change the way widgets are drawn so that all widgets intersecting the area where the backgroud is restored are redrawn. This commit simply seperate the bevel and shadow effects, and uses the shadow offset only to extend the bottom and right sides of the rectangle (while the bevel offset is still used to extend all four sides). This results in a smaller extended rectangle (if the shadow offset is bigger than the bevel offset, which is the case of the list view) and thus decrease the risk of the issue happening. The particular cases described in bug #6394 are all fixed with this change.
2017-06-19I18N: Regenerate translations data fileThierry Crozat
2017-06-13GUI: Focus the first 'focusable' widget when rebuilding dialogsBastien Bouclet
Fixes Trac#9838.
2017-06-09GUI: Improve calculation for savegame thumbnail labelsTarek Soliman
Instead of shrinking the rect based on how many labels aren't there, expand the rect based on how many labels are there. Closes gh-958
2017-06-09GUI: Fix savegame thumbnail label layoutTarek Soliman
The Save/Load screen has a preview area with labels for date and time. The bottom label was drawing past the bottom of the rect.
2017-06-09GUI: Use dashes in default save descriptionTarek Soliman
Closes gh-956
2017-05-29I18N: Regenerate translations data fileThierry Crozat
2017-05-22I18N: Regenerate translations data fileThierry Crozat
2017-05-15I18N: Regenerate translations data fileThierry Crozat
2017-05-01I18N: Regenerate translations data fileThierry Crozat
2017-04-24I18N: Regenerate translations data fileThierry Crozat
2017-04-17I18N: Regenerate translations data fileThierry Crozat
2017-04-10I18N: Regenerate translations data fileThierry Crozat
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-04-06GUI: Fix access to deleted widget after rebuilding a dialogThierry Crozat
The issue was with the focus or mouse widget as it may not be a direct child of the dialog (it may for example be a child of the tab widget in the options dialog) and removing a widget was not resetting the mouse of focus widget if that widget was not a direct child.
2017-04-06GUI: Add method to know if a widget contains a given widgetThierry Crozat
2017-04-03I18N: Regenerate translations data fileThierry Crozat
2017-03-29CREDITS: Add credits for LabThierry Crozat
2017-03-29CREDITS: Add snover as contributor for the SCI engineThierry Crozat
2017-03-29CREDITS: Move access engine credits to its proper placeThierry Crozat
2017-03-29CREDITS: Add credits for FullpipeThierry Crozat
2017-03-29CREDITS: Add credits for ADL engineThierry Crozat
2017-03-25BLADERUNNER: Added credits for Blade RunnerPeter Kohaut
2017-03-20GUI: Fix GCC Warnings.D G Turner
2017-03-18GUI: Fix a signed vs unsigned comparison warningBastien Bouclet
2017-03-14PSP2: Add credits for Vita portrsn8887
2017-03-13JANITORIAL: Remove trailing spacesEugene Sandulenko
2017-03-13GUI: Fix warningsEugene Sandulenko
2017-03-13I18N: Regenerate translations data fileThierry Crozat
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