Commit Graph
3010 Commits
Author SHA1 Message Date
Thierry Crozat 78561ca94d GUI: Fix access to deleted widget after rebuilding a dialog
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-06 21:55:28 +01:00
Thierry Crozat 91125bcbcd GUI: Add method to know if a widget contains a given widget 2017-04-06 21:55:28 +01:00
Thierry Crozat 2dac196370 I18N: Regenerate translations data file 2017-04-03 05:05:09 +02:00
Thierry Crozat 8054869161 CREDITS: Add credits for Lab 2017-03-29 23:38:08 +01:00
Thierry Crozat 11fda24477 CREDITS: Add snover as contributor for the SCI engine 2017-03-29 23:24:16 +01:00
Thierry Crozat de1a1ee7b3 CREDITS: Move access engine credits to its proper place 2017-03-29 23:10:10 +01:00
Thierry Crozat 8d3b84ae1c CREDITS: Add credits for Fullpipe 2017-03-29 23:05:55 +01:00
Thierry Crozat c36a945449 CREDITS: Add credits for ADL engine 2017-03-29 22:00:49 +01:00
Peter Kohaut d7080148c3 BLADERUNNER: Added credits for Blade Runner 2017-03-25 23:51:35 +01:00
D G Turner 7843e12cad GUI: Fix GCC Warnings. 2017-03-20 11:11:54 +00:00
Bastien Bouclet 4ca6f58264 GUI: Fix a signed vs unsigned comparison warning 2017-03-18 16:17:10 +01:00
rsn8887 ef992f26bb PSP2: Add credits for Vita port 2017-03-14 19:02:40 -05:00
Eugene Sandulenko 121cb80696 JANITORIAL: Remove trailing spaces 2017-03-13 08:59:22 +01:00
Eugene Sandulenko 1ffb661853 GUI: Fix warnings 2017-03-13 08:59:10 +01:00
Thierry Crozat a9d60aeb99 I18N: Regenerate translations data file 2017-03-13 05:05:07 +01:00
Thierry Crozat 1a874f9c07 GUI: Delay deletion of child widgets when rebuilding launcher and options dialog
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-10 02:05:27 +00:00
Thierry Crozat cc75d17e9c GUI: Allow delayed deletion of GuiObject
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-10 02:02:58 +00:00
Joseph-Eugene Winzer f39412fcec GUI: Fix Theme Label in Options->Misc
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-09 04:26:20 +01:00
Joseph-Eugene Winzer 66c2ae244f GUI: Fix resolution of theme filename to id
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-09 04:26:20 +01:00
Thierry Crozat d00cac1824 I18N: Regenerate translations data file 2017-03-06 05:05:08 +01:00
Eugene Sandulenko 852126d599 GUI: Regenerated built-in theme 2017-03-04 22:49:21 +01:00
Eugene Sandulenko 547e5846a1 Merge pull request #915 from rsn8887/vita
PSP2: Add Playstation Vita support
2017-03-04 22:45:01 +01:00
cpasjuste 70988527c6 PSP2: Add Playstation Vita (PSP2) support 2017-03-04 15:42:19 -06:00
Eugene Sandulenko dbc4ae70bf GUI: Remove useless translations 2017-03-04 11:23:00 +01:00
Eugene Sandulenko 7c259fe129 Merge pull request #911 from wjp/tabs
GUI: Improve tab widget
2017-03-01 08:17:34 +01:00
Willem Jan Palenstijn 7dd1a1e4f5 GUI: Increase tab title spacing 2017-03-01 00:24:06 +01:00
D G Turner 55d761a56a GUI: Fix Enumeral vs. Non-Enumeral In Conditional GCC Warning. 2017-02-28 20:22:38 +00:00
Willem Jan Palenstijn c64d91833f GUI: Check rect validity for popup/radio drawing 2017-02-28 15:55:52 +01:00
Willem Jan Palenstijn 5510640dbc GUI: Give each tab in TabWidget its own width
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-28 15:55:52 +01:00
Willem Jan Palenstijn af831f26b9 GUI: Clean up GlobalOptionsDialog reflow changing visible tabs 2017-02-28 15:55:51 +01:00
Willem Jan Palenstijn 69e311b789 Merge pull request #912 from rsn8887/upstream
SDL: fix options control tab ordering and labels
2017-02-28 15:54:40 +01:00
rsn8887 5934c05bca SDL: Fix value range checking for kbdMouseSpeedSlider 2017-02-27 16:20:09 -06:00
Thierry Crozat 64b05a8693 I18N: Regenerate translations data file 2017-02-27 05:05:11 +01:00
rsn8887 afff429261 SDL: fix options control tab ordering and labels
- 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-26 12:04:37 -06:00
rsn8887 45bd7a8b75 SDL: Fix erratic analog pointer + control options
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-22 16:52:09 -06:00
Eugene Sandulenko 8458e3deb7 Merge pull request #905 from lubomyr/master
ANDROIDSDL: added tab Control in main Options menu for switching some features
2017-02-21 23:29:51 +01:00
lubomyr 3f921c1195 ANDROIDSDL: config feature swap_menu_and_back renamed to swap_menu_and_back_buttons 2017-02-18 18:02:46 +02:00
Alexander 92c9f0274f GUI: Fix CID #1362505
The case probably would never show up, just fixed so it'd disappear from Coverity.
2017-02-15 18:37:46 +06:00
lubomyr 2412502eee ANDROIDSDL: implemented checkbox for swap menu and back buttons 2017-02-14 17:38:44 +02:00
lubomyr 216f9c4f11 ANDROIDSDL: backend related checking in options.cpp replaced with hasFeature... condition, renamed some fields and methods 2017-02-14 15:13:58 +02:00
Thierry Crozat ada88fa0fe I18N: Regenerate translations data file 2017-02-13 05:05:05 +01:00
Eugene Sandulenko 3d5d279bed Merge pull request #895 from csnover/gui-volume-options
GUI: Add three new options for volume slider controls
2017-02-11 08:56:16 +01:00
lubomyr f8c4274f1a ANDROIDSDL: code refactoring... 2017-02-07 16:35:41 +02:00
Thierry Crozat ec3e3e3ae3 I18N: Regenerate translations data file 2017-02-06 05:05:02 +01:00
Colin Snover d1fe6476fe GUI: Add three new options for volume slider controls
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-02-05 10:41:28 -06:00
lubomyr 9cdda5c045 ANDROIDSDL: implemented checkbox for show/hide on-screen control in Options menu 2017-01-31 22:44:50 +02:00
lubomyr 2aa0cdcff6 ANDROIDSDL: fixed in-game menu crash, removed unused method 2017-01-31 20:36:54 +02:00
lubomyr 15acee29f1 ANDROIDSDL: implemented checkbox for change mouse mode in Options menu 2017-01-30 22:35:40 +02:00
Thierry Crozat ea31af2a1e I18N: Regenerate translations data file 2017-01-30 05:05:03 +01:00
Thierry Crozat 262c5659a8 I18N: Regenerate translations data file 2017-01-23 05:05:13 +01:00