aboutsummaryrefslogtreecommitdiff
path: root/gui/options.cpp
AgeCommit message (Collapse)Author
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
2010-06-15GUI: Added tooltips to more widgets.Eugene Sandulenko
svn-id: r49779
2010-06-15GUI: Added tons of tooltips.Eugene Sandulenko
svn-id: r49777
2010-06-15GUI: Implement tooltips. FR #2821513.Eugene Sandulenko
FR #2821513: "GUI: add tooltips". Added tooltips for Add Game button, clear field buttons and couple other. Current problem: Only first call correctly restores text. I could not find where restore information gets lost. svn-id: r49774
2010-06-15GUI: Implement radiobuttons.Eugene Sandulenko
Implement radiobuttons in GUI. Also closes FR #2821529: "GUI: volume and subtitles speed sliders". Subtitle toggle button is replaced by three radiobuttons grouped by a single group. Updated translations and themes. svn-id: r49767
2010-06-15GUI: Added in-place hotkeys for widgets.Eugene Sandulenko
Now it is possible to specify hotkeys in place for ButtonWidget and CheckboxWidget (the only widgets with hotkeys now). Use de-facto standard with putting hotkey between tildes (~). Like '~O~pen'. The tildes gets stripped before after hotkey is extracted. This is done for giving translators possibility to specify their own hotkeys. Old hotkeys defined at widget instance creation are left for leaving possibility to specify non-printable hotkeys such as Common::ASCII_ESCAPE. Translation files were updated respectively. svn-id: r49766
2010-06-15Implement translation support for ScummVM GUI.Eugene Sandulenko
Based on patch #2903830: "Updated Translation Prototype" by alexbevi which in turn is based on patch #1739965 by jvprat. Currently it builds all translations right into ScummVM. Once the feature will be accepted more widely, i.e. more translations will pop up, it will be trivial to move translation strings to external file. Finished translation: Russian Unfinished translation: Hungarian Things which are nice to do: - Language code -> language mapping for more user friendness - Specifying fonts to be used with language - Updating of interface language without restart. It will require moving of much code to reflowLayout() methods for each dialog The .po files must be in single byte encodings. I.e. no support for Unicode. svn-id: r49759
2010-04-06GUI: Remove 'typedef Common::String String' from (Global)OptionsDialogMax Horn
svn-id: r48565
2009-08-16Fix options dialog's reflowLayout.Johannes Schickel
svn-id: r43425
2009-08-08Implement FR#2821534: "GUI: Mute All disable volume sliders"Eugene Sandulenko
svn-id: r43131
2009-07-29Sort audio output rates numerically (see FR #2821525)Max Horn
svn-id: r42886
2009-06-06Disable MIDI controls if GUIO_NOMIDI is setEugene Sandulenko
svn-id: r41281
2009-06-06Implement FR#862150: "GUI: Show subtitles/speech options only for speech games"Eugene Sandulenko
Add generic per-game GUI options support along the way ;) svn-id: r41275
2009-06-06Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".Eugene Sandulenko
- Split out label from PopUp widget - Aligned every widget on all layouts so GUI becomes to look nice again - Moved textHAlign to layout properties svn-id: r41266
2009-06-06Implement feature request #1180217: "GUI: Mute option"Eugene Sandulenko
svn-id: r41233
2009-05-13Fix all occurrences of AdLib spelling:Johannes Schickel
- credits - options dialog svn-id: r40538
2009-05-12Fix invalid pop up widget selection, when no "opl_driver" setting is present.Johannes Schickel
svn-id: r40506
2009-05-12- Add support for selecting the OPL emulator being used (config entry: ↵Johannes Schickel
"opl_driver") - Make MAME FM OPL the default emulator again - Add GUI support for selecting the active OPL emulator - Update themes svn-id: r40496
2009-03-26MidiDriver cleanup: findMusicDriver now returns a pointer (makes it possible ↵Max Horn
to distinguish 'no match found' from other results); updated parseMusicDriver accordingly; some methods now return MidiDriverType instead of int svn-id: r39702
2009-03-06Removed the defined(__PLAYSTATION2__) case to re-enable extra paths for PS2.Max Lingua
svn-id: r39144
2009-02-06Reverted previous commit.Vicent Marti
svn-id: r36226
2009-02-06Removed special case when redrawing the dialog stack. Fixes bug #2555710 and ↵Vicent Marti
several lesser graphical glitches with classic theme. svn-id: r36225
2009-01-18GUI: Renamed Globals.TabLabelWidth to Globals.PopUpWidget.labelWidth (that's ↵Max Horn
what it really is); changed PopUpWidget to use that value directly svn-id: r35895
2009-01-14Handle the sound font clearing button in the game specific optionsJordi Vilalta Prat
svn-id: r35864
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2009-01-01Revamping the handling of GUI themes a bit:Max Horn
* Moved the code which handles fallback to the built-in theme from ThemeEngine to GuiManager * Changed ThemeEngine::init() to only init&load the theme; no more messing with the overlay * Commented to a somewhat obscure line in the GuiManager event loop (taking eriktorbjorn's original commit message for that change as comment text) * Cleaned up the way the Dialog constructor ensures that the current Theme is correctly setup * Got rid of varios members of ThemeEngine * Changed ThemeEngine members _screen and _backBuffer from Surface pointers to just plain Surfaces * Changed ThemeEngine::loadFontFromArchive to use _themeArchive instead of creating an Archive from scratch * Renamed ThemeEngine::getThemeFileName() to getThemeId() (and some associated tweaks) * Lots of further cleanup and tweaks svn-id: r35653
2009-01-01Added two FIXMEs to global options dialog, related to theme selectionMax Horn
svn-id: r35650
2008-12-27Renamed some stuffMax Horn
svn-id: r35574