aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
AgeCommit message (Collapse)Author
2012-02-24GUI: Fix "clear" buttons after theme switch (bug #3482459)Torbjörn Andersson
Because the "clear" buttons are very different between themes (in the Modern theme they have a graphical symbol, while in the Classic theme they have a letter), they have to be removed and re-added when reflowing the layout. This is patterned after how the LauncherDialog class handles the larger changes in layout. Removing widgets from a tab turned out to be trickier than I first thought, so I had to move the removeWidget() method from Dialog to GuiObject.
2012-02-24COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modesathrxx
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
2012-02-21COMMON: add gui options for rendering modesathrxx
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2011-12-13GUI: Move addClearButton() from options.cpp to widget.cppTarek Soliman
This is so it can be used outside options.cpp
2011-11-18GUI: Disable speech volume slider in subtitle only mode.Johannes Schickel
2011-10-27GUI: Enable EGA Undithering in global options dialogTarek Soliman
GUIO_EGAUNDITHER is a positive flag unlike the rest of the GUIO negative flags like GUIO_NOASPECT and GUIO_NOSPEECH. This means the gui option is only enabled if the flag exists. This caused the gui option to be disabled in the global options dialog due to the flag not existing in the global confman domain. It is an inconvenience and a regression IMHO to have to set this flag on a game by game basis with no option to set it globally and have the games override it. Thanks Strangerke for making me clarify. Thanks LordHoto for feedback on code style.
2011-10-25GUI: Show empty savepath as 'Default', not 'None'Eugene Sandulenko
2011-10-25GUI: Refactor clear buttonsEugene Sandulenko
2011-10-25GUI: Added clear button to pathsEugene Sandulenko
2011-10-25LAUNCHER: Improved clear soundfont buttonEugene Sandulenko
2011-10-24GUI: Fix missing audio drivers in Edit Game dialog.Johannes Schickel
This is a regression from 77c65648b1db8f8b7b245510681eafd856798d26. Formerly the code used strtok to check for any audio related GUIO flag to be present in _guioptions. Since strtok tokenizes the string this won't really work. I changed it to use strpbrk, which searches a string for any character from a set of characters (in our case flags). The code should now have the same semantics as of before the above mentioned commit. This also gets rid of copying the gui options into a char array and a strncpy call.
2011-10-24GUI: Add GUIO EGA Dithering optionStrangerke
This will be used to disable the EGA dithering option
2011-10-24GUI: in order to play it safe, re-enable the aspect checkbox if the gui ↵Strangerke
options don't contain GUIO_NOASPECT. Thanks lordHoto for pointing it
2011-10-23LAUNCHER: Add GUIO_NOASPECT to SCUMM engineStrangerke
2011-10-23ALL: Reduce assignment of "" to Common::String.Johannes Schickel
When clearing an existant object clear() should be used. When constructing objects (or using default values for parameters) the constructor of String without any argument should be used. This changes only a few instances I noticed while looking over some recent commit logs.
2011-10-23AD: Swtich GUI options to a char array.Eugene Sandulenko
This eliminates nasty limitation of caping number of flags to 31. Current code has limitation of 255 flags, though. Only SCUMM engine is converted, rest do not even compile. Detection of fan talkie MI is broken as it has to be implemented differently.
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-06I18N: Make some more GUI strings translatable.Alyssa Milburn
2011-06-06GUI: Fix message after changing languages.Alyssa Milburn
2011-06-02GUI: Replace some s(n)printf uses by Common::String::formatMax Horn
2011-06-01Merge branch 'branch-1-3-0' into masterMax Horn
I manually resolved all conflicts, and inspected every single change. Many were due to the version string mismatch and thus easily resolved. The MSVC project files add in the 1-3-0 branch were not merged, neither where the changes to gui/themes/translations.dat. Conflicts: NEWS backends/base-backend.cpp backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp backends/module.mk backends/platform/ds/arm9/makefile backends/platform/psp/README.PSP backends/platform/samsungtv/main.cpp backends/platform/samsungtv/samsungtv.cpp backends/saves/posix/posix-saves.cpp base/commandLine.cpp base/internal_version.h base/main.cpp common/array.h configure devtools/create_project/create_project.cpp dists/android/AndroidManifest.xml dists/android/plugin-manifest.xml dists/iphone/Info.plist dists/irix/scummvm.spec dists/macosx/Info.plist dists/redhat/scummvm-tools.spec dists/redhat/scummvm.spec dists/scummvm.rc dists/slackware/scummvm.SlackBuild dists/wii/meta.xml engines/sci/parser/vocabulary.cpp engines/tinsel/handle.cpp gui/themes/translations.dat
2011-05-21GUI: Prevent the GUI code from incorrectly reloading the theme when the ↵agent-q
builtin theme is used.
2011-05-17GUI: Fix for bug #3303501 "Switching from HQ2x->HQ3x crashes ScummVM".Johannes Schickel
2011-05-16GUI: Apply graphics mode change when closing global options dialogThierry Crozat
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17GUI: Fix indentation problems. Remove unwanted space.Engin Manap
All cosmetic changes, nothing changed.
2011-04-17GUI: Fix apply old theme even if theme is not changed.Engin Manap
There was no control if theme was changed. If you click cancel, it always changes theme to which options panel opened with. This is unneccessery if theme is not changed so a if statement added before applying old theme.
2011-04-17GUI: Fix theme change ignores cancel on options window.Engin Manap
add new protected value _oldTheme. It keeps theme at the init of options window, and cancel button reapplies old theme.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-30I18N: Don't build TranslationManager when translation is disabled.Jordi Vilalta Prat
svn-id: r54684
2010-11-25GUI: Changed wording of "Disable dithering" to "Enable undithering"Filippos Karapetis
svn-id: r54467
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