aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
AgeCommit message (Collapse)Author
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-16GUI: Fixed Memory Leak in RadiobuttonGroup usage in Options Dialog.David Turner
RadiobuttonGroup has a destructor which must be called to avoid leaking memory. Have also added missing NULL init() declarations on object member pointers to avoid any future issues. svn-id: r54260
2010-11-05GUI: Better description of the dithering checkboxFilippos Karapetis
svn-id: r54092
2010-11-05GrammarFilippos Karapetis
svn-id: r54091
2010-11-05COMMON/GUI/SCI: Changes to the EGA dithering checkboxFilippos Karapetis
- Changed the new dithering checkbox to be more generic (i.e. relevant for all engines that may support such a feature in the future) - Changed the checkbox to be unchecked by default. As discussed on -devel, game enhancements in ScummVM should be off by default, and opt-in - Changed the option from "sci_undither" to "disable_dithering" - Changed theme version style to X.Y.Z and bumped it to 0.8.2 svn-id: r54090
2010-11-04SCI/SCUMMVM: Added an option to enable the dithering removal algorithm (so ↵Filippos Karapetis
called "undithering") in the graphics options tab. The algorithm is now disabled by default, after popular demand. In retrospect, we really shouldn't have made it default, in order to preserve the authenticity of the graphics in early SCI EGA games, and allow the user to opt in and enable the option if needed. Unfortunately, the lack of an easy way to modify the option made it hard to do so. svn-id: r54066
2010-10-25GUI/LAUNCHER: follow-up to r53771Florian Kagerer
The GM and MT-32 popup widgets would be set to the first available MIDI device by default (before any selection has taken place yet). Instead, default will now be the first list entry. svn-id: r53827
2010-10-24GUI/LAUNCHER: improved MIDI device selection (also #3088438)Florian Kagerer
This fixes an issue with the <default> setting in the GM and MT-32 device tabs that has caused some complaints and discussions on -devel. It might also be what bug #3088438 is about. With a <default> setting ScummVM would just use the first available MIDI device (even if this is the not really well working MT-32 emulator). This <default> setting was also indeed set by default - making it even more annoying. Now there is a new setting for both the GM and MT-32 device tabs ("Don't use GM/MT-32 music"). This will cause MIDI device detection to be skipped and the best of the other devices (Adlib etc.) to be used. This new setting is used as default. So users who haven't specified anything will get Adlib, PC Speaker etc. (if supported by the engine) even if the engine prefers Midi. There is a new "Use first available device" setting which will have the same effect as the "<default>" setting we had before. svn-id: r53771
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-10-12I18N: Forward-port r53063 (minor lowres fixes)Jordi Vilalta Prat
svn-id: r53159
2010-10-01GUI: Fix bug #3075649 (Fonts not found with built-in theme)Thierry Crozat
When switching to a theme that do not have the fonts needed to properly display the current language, it now revert to the previously used theme and display an error message telling the user to change the language first if he wants to use the theme he selected. svn-id: r52969
2010-10-01GUI: Error message for theme incompatible with current languageThierry Crozat
Add an error message when switching to a theme that does not support the current language (i.e. it does not have fonts for the charset used by that language). svn-id: r52965
2010-09-13I18N: Unified messages by removing whitespaces.Jordi Vilalta Prat
svn-id: r52700
2010-09-12i18n: Add lowres context in a few places.Thierry Crozat
I also changed the english text for the GUI Renderer items in 1x mode as the text was tool long and cut. svn-id: r52683
2010-09-11i18n: Add lowres context in a few placesThierry Crozat
Also update the Italian and French translations. svn-id: r52677
2010-08-30I18N: Add "lowres" context for several GUI strings when in 1x mode.Thierry Crozat
This enables translators to use a different translation for these strings in 1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes. svn-id: r52461
2010-08-23I18N: Do not translate 'English' in the language selection PopUpWidget.Thierry Crozat
svn-id: r52313
2010-08-23i18n: Add support for context in translations.Thierry Crozat
This change means there can now be different translations for the same english string depending on the context. It is based on gettext msgctxt feature. There is a new macro _c(msg, ctxt) that should be used instead of _(msg) in the source code when we want to add a context to the message. For the moment I have added contexts to only one message ("None") so that I could test the changes. Context could be added also to get shorter translations when GUI is in 1x mode. I have also added back the fuzzy option to msmerge since it is useful when adding contexts to populate the translations for the new contexts. svn-id: r52308
2010-08-11Use tabs instead of spaces for indentation.Eugene Sandulenko
svn-id: r51997
2010-08-11GUI: add music devices for c64, amiga and apple II gsFlorian Kagerer
These devices are not able to create appropriate drivers. The only purpose for now is having proper gui options and flags and music types for the device detector. The corresponding GUIO flags for the new devices have been added, too. svn-id: r51995
2010-08-10GUI: fix broken MT-32 tabFlorian Kagerer
svn-id: r51953
2010-07-31i18n: use user friendly language names in GUIThierry Crozat
The GUI now uses the content of the Language field from the po file header if it is present and not empty for the language selection PopupWidget. If not present it uses the file name as before (e.g. ru_RU). Also update all the translation template and all the translation files. svn-id: r51542
2010-07-26GUI: Fix regression from r51265.Johannes Schickel
This makes the GMM's option dialog work again. The fix itself is exactly the same like I made in r50468, which also broke the GMM's option dialog. svn-id: r51330
2010-07-24GUI: Fix bug #3027772 by adding MT-32 tabEugene Sandulenko
Bug #3027772: "Can't switch between Text and Speech". The problem was in overcrowded Audio tab in any resolution with height < 480. Solved by adding new MT-32 tab and grouping all relevant widgets there. TODO: - The problem still exists for 320x200 resolution where Subtitle speed control is not accessible - Apparently nobody tested tab control scrolling after switching to new GUI, and now there are artifacts svn-id: r51265
2010-07-21GUI: Properly show external MIDI devices.Johannes Schickel
Formerly in case a game only specified GUIO_MIDIMT32, only the MT-32 Emulator was shown, since that is the only device which is of type MT_MT32. All external MIDI devices are currently only flagged with MT_GM. svn-id: r51107
2010-07-21Strip trailing whitespaces in our common code base.Johannes Schickel
svn-id: r51094
2010-07-12Consistently use "MT-32" as short name of the Roland MT-32 in our GUI and ↵Johannes Schickel
credits files. svn-id: r50821
2010-07-09Replace _s(test ? "string1" : "string2") by test ? _("string1") : ↵Thierry Crozat
_("string2") in two places. With the old code the second string was not detected as being translatable. svn-id: r50763
2010-07-05GUI/AUDIO: minor fix for the case that after enabling individual audio ↵Florian Kagerer
options for a target the gui tries to select the audio device from global options, but that particular device is unavailable due to GUIO flags settings svn-id: r50684
2010-07-04Simplify audio device settings handling by using the device handle as tag ↵Johannes Schickel
instead of newly created id. svn-id: r50651
2010-07-04Whoops, always increase midiId, not only when it's added to the GM Device popup.Johannes Schickel
svn-id: r50650
2010-07-04Prevent the MT-32 Emulator from being displayed in the "GM Device" pop up.Johannes Schickel
svn-id: r50649
2010-07-04More cleanup / readability fixes.Johannes Schickel
svn-id: r50648
2010-07-04Cleanup.Johannes Schickel
svn-id: r50647
2010-07-04GUI/AUDIO: This change will make individual game audio settings take over ↵Florian Kagerer
the audio device from the global settings if no device config key is found for that game (This should fix the problem reported by LordHoto on devel. It might make sense to implement this behaviour to other settings, like subtitle mode etc.) svn-id: r50646
2010-06-28Fix regression from r50382, which triggered an assert when clicking "OK" in ↵Johannes Schickel
the GMM's options dialog. The problem here is that our ConfigDialog uses "" as domain name, this will result in the assert in common/config-manager.cpp:323 getting triggered, when using ConfMan.removeKey. Since setting the domain to the game's domain does not seem save according to the FIXME in gui/dialogs.cpp about this domain hackery, I decided to adapt the OptionsDialog to only call ConfMan.removeKey for "music_driver" etc., when the music driver widgets are present. This is consistent with the over uses of removeKey in OptionsDialog::close too. svn-id: r50468
2010-06-27GUI: and another fix for the music device popupFlorian Kagerer
svn-id: r50384
2010-06-27GUI: fix music device popup (thanks to clone2727 for reporting)Florian Kagerer
svn-id: r50382
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
2010-06-26GUI: If no language is explicitly selected and autodetection is available, ↵Jordi Vilalta Prat
select "<default>" (which is already in use) instead of English. svn-id: r50323
2010-06-25AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)Florian Kagerer
svn-id: r50281
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-20Commit slightly modified version of patch #3018727: fix subtitle options ↵Thierry Crozat
(thanks fuzzie). svn-id: r50080
2010-06-15Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of ↵Johannes Schickel
(ENABLE_)TRANSLATION, DETECTLANG and TERMCONV. svn-id: r49885
2010-06-15GUI: Fixed warningsEugene Sandulenko
svn-id: r49804
2010-06-15GUI: Fix crashEugene Sandulenko
svn-id: r49803
2010-06-15GUI: Implemented Languages as GUI options.Eugene Sandulenko
SCUMM and AdvancedDetector support this feature. svn-id: r49786
2010-06-15GUI: Disable AdLib controls if game does not support it.Eugene Sandulenko
svn-id: r49785
2010-06-15GUI: Implement MIDI drivers as GUI options.Eugene Sandulenko
Proper version of patch #2988641: "GSoC: Select drivers in GUI based on output types". So far only SCUMM engine supports this feature. svn-id: r49783