3124 Commits

Author SHA1 Message Date
Bastien Bouclet
e26259d758 GUI: Fix null pointer dereference in mass add
When looking for duplicates if the detected game had an unknown platform
or an unknown language, the string for the corresponding code is null,
resulting in a null pointer dereference.
2018-06-30 19:17:41 +02:00
Eugene Sandulenko
2660211fd7 GUI: Added license for M+ fonts (PD) 2018-06-29 13:31:55 +02:00
Eugene Sandulenko
76f11cf025 GUI: Added font, used in Japanese Riven menus 2018-06-29 13:31:55 +02:00
Adrian Frühwirth
e86189bd86 GUI: Grey out unlaunchable games in launcher 2018-06-27 22:47:51 +02:00
Thierry Crozat
1a097b1d97 I18N: Regenerate translations data file 2018-06-25 05:05:03 +02:00
Thierry Crozat
0d8ca3aa0d I18N: Regenerate translations data file 2018-06-18 05:05:03 +02:00
Bastien Bouclet
ff66a89e14 CREDITS: Add dafioram to the Mohawk section 2018-06-17 09:34:56 +02:00
Thierry Crozat
ce586aa95c I18N: Regenerate translations data file 2018-06-11 05:05:05 +02:00
Thierry Crozat
95e1a6b2be I18N: Regenerate translations data file 2018-06-04 05:05:03 +02:00
Thierry Crozat
201b347ebd GUI: Improve layout update for UnknownGameDialog
Previously the dialog was not resized and was just recentered on
the screen when the overlay size changed. Now it is properly
resized as well.
2018-05-28 22:21:10 +01:00
Thierry Crozat
42cd3e9596 GUI: Use ScrollContainerWidget in unknown game dialog
This should fix issues when the text to display in the dialog is
too big to fit on the screen.
2018-05-28 22:21:10 +01:00
Thierry Crozat
44bc04e0d9 GUI: Move UnknownGameDialog to gui 2018-05-28 20:55:00 +01:00
Bastien Bouclet
61f9398b04
Merge pull request #1187 from bgK/detection-refactor-unknown
ENGINES: Return unknown game variants with the list of detected games
2018-05-28 18:43:15 +02:00
Adrian Frühwirth
cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Adrian Frühwirth
c7f3416daa JANITORIAL: Remove trailing whitespace 2018-05-20 23:40:20 +02:00
Thierry Crozat
1bfd7352dc I18N: Regenerate translations data file 2018-05-14 05:05:07 +02:00
Bastien Bouclet
90b78c5446 ENGINES: Merge GameDescriptor and DetectedGame 2018-05-10 09:04:23 +02:00
Bastien Bouclet
faa2534f46 ENGINES: Factor adding games to ConfMan 2018-05-10 09:04:23 +02:00
Bastien Bouclet
5aff87dc15 ENGINES: Turn GameDescriptor into a simple struct 2018-05-10 09:04:23 +02:00
Bastien Bouclet
8fb149e3c7 ENGINES: Change MetaEngine::findGame to return a plain game descriptor 2018-05-10 09:04:23 +02:00
Bastien Bouclet
cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02:00
Bastien Bouclet
bdc0db97d5 GUI: Add copy and paste support to the graphical console 2018-05-07 22:42:00 +02:00
Thierry Crozat
16af24c536 I18N: Regenerate translations data file 2018-05-07 05:05:06 +02:00
Adrian Frühwirth
699a73d510 JANITORIAL: Fix whitespace 2018-05-02 12:10:32 +02:00
Bastien Bouclet
b97067e0c4 CREDITS: Add Xeen 2018-05-02 08:10:21 +02:00
Bastien Bouclet
7382af32be GUI: Make the tab completion case insensitive in the debug console
It made little sense for the tab-completion to be case sensitive while
command execution itself is case insensitive.
2018-04-30 20:31:44 +02:00
Thierry Crozat
9c0169fe5c I18N: Regenerate translations data file 2018-04-30 05:05:06 +02:00
Lothar Serra Mari
451cf2304f ENGINES: Show the unknown Game dialog only when the detector is launched by the Add Game feature 2018-04-29 21:47:10 +01:00
Thierry Crozat
6ab6d76792 GUI: Add copy to clipboard shortcut for EditableWidget 2018-04-29 21:47:10 +01:00
Thierry Crozat
0015d51d48 I18N: Regenerate translations data file 2018-04-23 05:05:06 +02:00
Bastien Bouclet
41ba608c6c
Merge pull request #1156 from bgK/gui-simplify-text
GUI: Unify clip and non-clip draw calls
2018-04-19 19:42:13 +02:00
Bastien Bouclet
4d29ce21d0 GUI: Unify clip and non-clip draw calls 2018-04-19 19:18:39 +02:00
Bastien Bouclet
dcfac42bb3 GUI: Remove alpha bitmap support
It was never used since its introduction 4 years ago
It was not updated to work with the clipping rect
2018-04-19 19:13:12 +02:00
Thierry Crozat
5df28d6049 I18N: Regenerate translations data file 2018-04-16 05:05:06 +02:00
Thierry Crozat
f525174495 I18N: Regenerate translations data file 2018-04-09 05:05:05 +02:00
Cameron Cawley
a873544840 DS: Fix building with AGI engine disabled 2018-04-07 09:30:07 +02:00
Thierry Crozat
766574e03e I18N: Regenerate translations data file 2018-04-02 05:05:02 +02:00
Eugene Sandulenko
b0affe5bf2 GUI: Added override specifiers 2018-03-28 12:47:23 +02:00
Eugene Sandulenko
283f7485e3 GUI: Added override clauses 2018-03-28 12:28:12 +02:00
Thierry Crozat
f198c16f45 I18N: Regenerate translations data file 2018-03-26 05:05:06 +02:00
Thierry Crozat
68596bed8e I18N: Regenerate translations data file 2018-03-19 05:05:04 +01:00
Bastien Bouclet
4d0bb753e4 GUI: Remove the ThemeItem draw queues
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-12 11:46:04 +01:00
Thierry Crozat
7b2523a78b I18N: Regenerate translations data file 2018-03-12 05:05:05 +01:00
Thierry Crozat
9dbffa1763 I18N: Regenerate translations data file 2018-02-05 05:05:08 +01:00
Thierry Crozat
fa28602abf I18N: Regenerate translations data file 2018-01-29 05:05:05 +01:00
Bastien Bouclet
21552fb4e6 GUI: Remove the parent from the button_idle DrawData
Removing it does not result in any visible difference. It was likeliy
set by mistake.
2018-01-27 18:16:08 +01:00
Bastien Bouclet
7dc602f352 GUI: Fix the caret drawing over the scroll bar in the list widget
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-27 18:12:53 +01:00
Bastien Bouclet
5878c618c9 GUI: Remove Dialog::markAsDirty to expose full GUI redraws 2018-01-27 18:12:34 +01:00
Bastien Bouclet
fc37918130 GUI: Remove explicit redraw when scrolling the ScrollContainer
The redraw is already handled by the GUI main loop
2018-01-27 18:12:34 +01:00
Bastien Bouclet
0496ede62f GUI: Implement dirty-checking for widget redraws 2018-01-27 18:12:34 +01:00