aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2018-05-07I18N: Regenerate translations data fileThierry Crozat
2018-05-02JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-05-02CREDITS: Add XeenBastien Bouclet
2018-04-30GUI: Make the tab completion case insensitive in the debug consoleBastien Bouclet
It made little sense for the tab-completion to be case sensitive while command execution itself is case insensitive.
2018-04-30I18N: Regenerate translations data fileThierry Crozat
2018-04-29ENGINES: Show the unknown Game dialog only when the detector is launched by ↵Lothar Serra Mari
the Add Game feature
2018-04-29GUI: Add copy to clipboard shortcut for EditableWidgetThierry Crozat
2018-04-23I18N: Regenerate translations data fileThierry Crozat
2018-04-19Merge pull request #1156 from bgK/gui-simplify-textBastien Bouclet
GUI: Unify clip and non-clip draw calls
2018-04-19GUI: Unify clip and non-clip draw callsBastien Bouclet
2018-04-19GUI: Remove alpha bitmap supportBastien Bouclet
It was never used since its introduction 4 years ago It was not updated to work with the clipping rect
2018-04-16I18N: Regenerate translations data fileThierry Crozat
2018-04-09I18N: Regenerate translations data fileThierry Crozat
2018-04-07DS: Fix building with AGI engine disabledCameron Cawley
2018-04-02I18N: Regenerate translations data fileThierry Crozat
2018-03-28GUI: Added override specifiersEugene Sandulenko
2018-03-28GUI: Added override clausesEugene Sandulenko
2018-03-26I18N: Regenerate translations data fileThierry Crozat
2018-03-19I18N: Regenerate translations data fileThierry Crozat
2018-03-12GUI: Remove the ThemeItem draw queuesBastien Bouclet
Drawing nows happens directly when the Dialog or Widget draw methods are called. This makes it easy to debug why a particular low level draw method was called, by inspecting the call stack. This replaces the notion of "buffering" by two independant ways to control what is drawn and where: - The active layer is used to select whether the foreground or background part of the dialogs are rendered by the draw calls. - The active surface is used to select if the draw calls affect the back buffer or the screen. The foreground layer of the active dialog is drawn directly to the screen. Its background layer is drawn to the back buffer. This way widgets can restore the back buffer in order to update without having to redraw the dialog's background. Dialogs lower in the dialog stack are drawn entirely to the back buffer.
2018-03-12I18N: Regenerate translations data fileThierry Crozat
2018-02-05I18N: Regenerate translations data fileThierry Crozat
2018-01-29I18N: Regenerate translations data fileThierry Crozat
2018-01-27GUI: Remove the parent from the button_idle DrawDataBastien Bouclet
Removing it does not result in any visible difference. It was likeliy set by mistake.
2018-01-27GUI: Fix the caret drawing over the scroll bar in the list widgetBastien Bouclet
Also remove the unused linesWidth variable and fix the hlLeftPadding and hlRightPadding widget attributes to actually work. There are still issues remaining with the caret in the list widget due to the ellipsis being used to shorten long text. Ellipsis is accounted for when drawing the text but not when computing the caret position.
2018-01-27GUI: Remove Dialog::markAsDirty to expose full GUI redrawsBastien Bouclet
2018-01-27GUI: Remove explicit redraw when scrolling the ScrollContainerBastien Bouclet
The redraw is already handled by the GUI main loop
2018-01-27GUI: Implement dirty-checking for widget redrawsBastien Bouclet
2018-01-27GUI: Rework the frame limiter to actually reach the target framerateBastien Bouclet
The previous combination of a fixed 10 milliseconds delay and time since last update checks meant that in most cases 20 milliseconds elapsed between two calls to updateScreen resulting in a 50 fps framerate. On systems with wait for vsync enabled that meant that some frames were missed. The new frame limiter waits for a variable delay equal to the non consumed time in the slot allocated to the frame.
2018-01-13GUI: never enable checkbox if GUI_ONLY_FULLSCREEN is setrsn8887
2018-01-01ALL: Bump copyright year. 2018!Eugene Sandulenko
2017-12-26SDL: Cleanup joystick deadzone handlingBastien Bouclet
2017-12-25I18N: Regenerate translations data fileThierry Crozat
2017-12-11I18N: Regenerate translations data fileThierry Crozat
2017-12-04I18N: Regenerate translations data fileThierry Crozat
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-11-27GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning.D G Turner
2017-11-27I18N: Regenerate translations data fileThierry Crozat
2017-11-24GUI: Fix incorrect SaveLoad dialog state after updating the save listThierry Crozat
Updating the list reset the selection in the list widget, however if a save had previously been selected and the Choose button was enabled, it remained enabled despite no save being selected. Trying to load the game resulted in a crash. This was particularly an issue with cloud enabled as if you are unlucky you could have tried to load a save just as the cloud sync finished, which updated the list and unselected the save. This change fixes bug #9766: Assert in SaveLoadChooser dialog. In addition to adding a sanity check on the selected index for the Choose command, this commit also preserves the selection when updating the list as I think this would be the expected behaviour in this dialog.
2017-11-24Merge pull request #1063 from bgK/keyboard-repeatBastien Bouclet
SDL2: Improve handling of keyboard repeat events
2017-11-21CREDITS: Add credits for RISC OS portCameron Cawley
Closes gh-1068.
2017-11-20I18N: Regenerate translations data fileThierry Crozat
2017-11-19EVENTS: Rename synthetic to kbdRepeatBastien Bouclet
2017-11-13I18N: Regenerate translations data fileThierry Crozat
2017-11-10ALL: Fix misuse of comma operatorColin Snover
2017-11-06I18N: Regenerate translations data fileThierry Crozat
2017-10-23I18N: Regenerate translations data fileThierry Crozat
2017-10-16I18N: Regenerate translations data fileThierry Crozat
2017-10-15GUI: CleanupEugene Sandulenko
2017-10-15GUI: UPDATES: Redesign updates dialog as suggested by criezy in PR#1040Eugene Sandulenko