Commit Graph

2921 Commits

Author SHA1 Message Date
Eugene Sandulenko
e2f58be77f Merge pull request #859 from criezy/gui-apply
GUI: apply changes functionality
2016-11-03 23:46:46 +01:00
Eugene Sandulenko
1b037c413b I18N: Regenerate translations.dat 2016-11-03 10:06:25 +01:00
Thierry Crozat
0f9655bfe0 GUI: Allow changing the GUI language without restarting ScummVM 2016-10-30 18:59:47 +00:00
Thierry Crozat
8b5317e05d GUI: Add possibility to rebuild the launcher dialog 2016-10-30 18:56:35 +00:00
Thierry Crozat
df3299ebb2 GUI: Add possibility to rebuild the options dialog
This will be needed to allow changing the GUI language and applying
the change without having to close the dialog.
2016-10-30 18:36:22 +00:00
Thierry Crozat
50847f9e03 GUI: Setting the active tab also ensures it is visible in the tab bar 2016-10-30 18:22:56 +00:00
Thierry Crozat
54230af9fd GUI: Only change theme when applying new options
Unlike other options in the OptionsDialog, the theme change was
done when selecting a new theme and not when clicking on OK or
Apply. This commit makes it consistent with other options
2016-10-30 16:25:42 +00:00
Thierry Crozat
59675d2e4c GUI: Add Apply button in global options dialog 2016-10-30 15:43:14 +00:00
Thierry Crozat
aee3599e6b I18N: Regenerate translations data file 2016-10-28 23:29:56 +01:00
rootfather
7de9f4e6d8 I18N: Regenerate translations.dat 2016-10-27 21:32:33 +02:00
Thierry Crozat
ca52f16e08 I18N: Regenerate translations data file 2016-10-26 18:53:06 +01:00
Thierry Crozat
74b3b45c61 GUI: Fix possible access to free'ed memory or double deletion in tab widget
The issue could occur when adding or removing widgets to a tab, and then
not switching to a different tab before the destructor or reflowLayout() were
called. In such a case the firstWidget of the current widget in the _tabs list
could be out of date. Accessing this first widget from the destructor or from
reflowLayout() could then cause a crash, or random issues caused to access
to free'ed memory. In theory this could also lead to a memory leak, although
I don't think this could occur in our current code.

Usually we add several tabs to a TabWidget and then switch back to the first
tab after building all the tabs. So in such a case the issue would not occur.
But because we are deleting and reconstructing the clear buttons for the
MIDI and Path tabs of the options dialog from reflowLayout(), if the current
tab is the Path tab, it would be kept as active tab after adding and removing
widget to it and the issue would occur.

This fixes bug #9618.
2016-10-22 21:32:16 +01:00
Thierry Crozat
9f94294d80 GUI: Fix incorrect initialisation of some tab Ids in OptionsDialog
A value of 0 is valid for tab ids, so the correct initialisation at this
stage is -1. However only one constructor properly initialized all the
tab ids to -1 in its initialisation list, but it was then changed to 0 in
init(). I have added the missing ones to the other constructors and
removed the incorrect ones in init(). But maybe all tab ids should be
initialised in init() rather than in the constructors initialisation lists.
2016-10-22 21:32:16 +01:00
rootfather
8e328647dc I18N: Regenerate translations.dat 2016-10-22 17:12:45 +02:00
Thierry Crozat
8b1bb08a6e GUI: Increase theme version
This should have been done when making changes to it but I forgot.
2016-10-21 21:33:53 +01:00
Thierry Crozat
6051bafecc I18N: Regenerate translations data file 2016-10-17 20:40:20 +01:00
Eugene Sandulenko
c5e233b66b ALL: Fix compilation with enabled sdl_net and disabled cloud 2016-10-17 18:55:22 +02:00
Eugene Sandulenko
e8b70a4686 ALL: Fix compilation with disabled cloud but enabled libcurl 2016-10-17 18:55:22 +02:00
Thierry Crozat
873515a7be GUI: Fix compilation when cloud is disabled but libcurl is not 2016-10-16 23:29:01 +01:00
Thierry Crozat
3e08c33c35 GUI: Add checkbox and config option to enable/disable graphics filtering 2016-10-13 01:45:01 +01:00
Thierry Crozat
eef7d91fe1 GUI: Fix wrong error messages when failing to change some graphics settings 2016-10-12 19:59:00 +01:00
Willem Jan Palenstijn
95424d770f I18N: Fix fuzzy Dutch translation 2016-10-09 22:00:36 +02:00
Thierry Crozat
d4c8b787d2 I18N: Regenerate translation data file 2016-10-09 14:43:00 +01:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Eugene Sandulenko
2a903b60f7 I18N: Regenerate translations.dat 2016-10-09 14:31:53 +02:00
Eugene Sandulenko
c7188dc05c I18N: Regenerate translations.dat 2016-10-09 13:54:48 +02:00
Eugene Sandulenko
ecd40513a3 GUI: Do not disable Aspect ratio checkbox with only-fullscreen option 2016-10-09 11:05:01 +02:00
Eugene Sandulenko
c04e5a8497 I18N: Regenerate translations.dat 2016-10-08 11:50:10 +02:00
Thierry Crozat
dff5da9b49 I18N: Regenerate translation data file 2016-10-06 20:22:59 +01:00
Eugene Sandulenko
ed44ddafba I18N: Regenerate translations.dat 2016-10-04 17:54:30 +02:00
Eugene Sandulenko
9e9617b4e9 I18N: Regenerate translations.dat 2016-10-04 13:46:08 +02:00
Lothar Serra Mari
84ea02e29f I18N: Regenerate translations.dat 2016-10-03 18:01:03 +02:00
Lothar Serra Mari
195b6d8a4f I18N: Regenerate translations.dat 2016-10-02 21:27:37 +02:00
Thierry Crozat
92bd10ff28 CREDITS: Core team has been disbanded and LordHoto retired 2016-09-26 21:33:55 +01:00
Thierry Crozat
8b282eff6c I18N: Regenerate translations data file 2016-09-25 22:56:13 +01:00
Bastien Bouclet
1a1a5b5f69 CLOUD: Change the cloud icon to be updated by the main thread
The cloud manager registers itself as an event source as a mean to be polled
periodically by the GUI or engine code. The periodical polling is used to
update the OSD icon indicating background sync activity.

Also move the cloud icon from ConnectionManager to CloudManager,
allowing to decouple icon handling from network connections updates.
2016-09-18 17:54:12 +02:00
Thierry Crozat
361d84ca74 I18N: Regenerate translations data file 2016-09-18 16:40:35 +01:00
Thierry Crozat
a87a702eb2 ALL: Homogeneize use of 'saved game' in messages 2016-09-18 16:40:34 +01:00
Eugene Sandulenko
05d85b1e4e I18N: Regenerate translations.dat 2016-09-17 22:40:08 +02:00
Thierry Crozat
358f2d4845 I18N: Regenerate translation data file 2016-09-17 19:30:34 +01:00
Eugene Sandulenko
c9dfcea680 I18N: Regenerated translations.dat 2016-09-16 18:09:52 +02:00
Bastien Bouclet
cd803d7ca7 GUI: Fix a typo in the low resolution theme layouts
This caused a crash when opening to options dialog in low resolution.
2016-09-13 14:25:37 +02:00
Bastien Bouclet
10fd5046c2 GUI: Regenerate the built-in theme 2016-09-13 07:58:00 +02:00
Bastien Bouclet
ff217ea033 GUI: Don't show the "Open URL" button if there is no backend support 2016-09-10 07:46:52 +02:00
Thierry Crozat
1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Thierry Crozat
aa879ec307 I18N: Regenerate translations data file 2016-09-08 09:14:09 +01:00
Thierry Crozat
bd66e005c2 I18N: Regenerate translations data file 2016-09-05 21:42:09 +01:00
Torbjörn Andersson
d527a16e2f GUI: Fix indentation to silence GCC 6 warning 2016-09-05 18:08:51 +02:00
Lothar Serra Mari
f5ce9c167c I18N: Regenerate translations.dat 2016-09-05 10:22:01 +02:00
Lothar Serra Mari
265ff03459 GUI: Enable translation for download speed string in cloud feature 2016-09-05 10:17:03 +02:00