Commit Graph

2987 Commits

Author SHA1 Message Date
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
Thierry Crozat
16da2614fd I18N: Regenerate translations data file 2017-01-16 05:05:04 +01:00
D G Turner
d5f0d1fdb2 GUI: Fix Unused Variable Compiler Warning when USE_PNG not set. 2017-01-12 10:00:17 +00:00
D G Turner
72dbd12811 GUI: Replace sprintf() with safer String::format() in KeysDialog. 2017-01-12 09:46:14 +00:00
D G Turner
2ab0927407 GUI: Suppress Unused Variable Warning For Some Build Configurations.
This fix is not totally clean as it spuriously uses the
serverLabelPosition variable in one case of the preprocessor ifdef
configuration, but with the current structure, this is a simple hack to
fix.

A better solution would be to rewrite some of these functions to remove
some of the preprocessor usage if possible.
2017-01-10 06:27:09 +00:00
Eugene Sandulenko
ab7a152c3a ALL: Bump copyright year to 2017 2017-01-01 10:58:56 +01:00
Thierry Crozat
9755109fdd I18N: Regenerate translations data file 2016-12-26 05:05:02 +01:00
Thierry Crozat
23050227a6 I18N: Regenerate translations data file 2016-12-19 05:05:10 +01:00
Thierry Crozat
1c721ed512 I18N: Regenerate translations data file 2016-12-12 05:05:11 +01:00
Thierry Crozat
5c60a75f94 I18N: Regenerate translations data file 2016-12-05 05:05:09 +01:00
Colin Snover
94e2c67418 GUI: Fix crash when slider values are out-of-bounds
Out-of-bounds values are always indicative of a bug somewhere else,
but at least not crashing here allows the user to recover by
interacting with the slider control. The error will still be
obvious because the associated text field will display the
original weird value.
2016-12-01 13:04:55 -06:00
Ben Castricum
6f38c1e55d ALL: game state => saved game 2016-11-29 20:15:20 +01:00
Thierry Crozat
c5a7fba8d1 I18N: Regenerate translations data file 2016-11-28 11:51:55 +01:00
Thierry Crozat
d9a102e3bf I18N: Regenerate translations data file 2016-11-28 10:05:41 +01:00
Thierry Crozat
e47e4b5d5c I18N: Regenerate translations data file 2016-11-28 10:04:37 +01:00
Thierry Crozat
90478b3240 I18N: Regenerate translations data file 2016-11-28 10:04:19 +01:00
Thierry Crozat
de92af7e50 I18N: Regenerate translations data file 2016-11-28 09:57:23 +01:00
Thierry Crozat
b032443740 I18N: Regenerate translations data file 2016-11-28 09:56:57 +01:00
Thierry Crozat
19f06cb907 I18N: Regenerate translations data file 2016-11-28 09:55:32 +01:00
Thierry Crozat
4d8d921f4e I18N: Regenerate translations data file 2016-11-28 09:54:19 +01:00
Thierry Crozat
f8c17b2ac8 I18N: Regenerate translations data file 2016-11-28 09:36:37 +01:00
Thierry Crozat
d63d5ae05b I18N: Regenerate translations data file 2016-11-28 09:32:06 +01:00
Thierry Crozat
579dfd1679 I18N: Regenerate translations data file 2016-11-28 09:19:57 +01:00
Thierry Crozat
0acbad3f6a I18N: Regenerate translations data file 2016-11-28 09:13:23 +01:00