aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
AgeCommit message (Collapse)Author
2011-01-18GUI: Fix implicit signed to unsigned conversion warnings for some compilers.Johannes Schickel
svn-id: r55313
2011-01-16GUI: Fix language popup in the game options.Johannes Schickel
r49786 introduced a regression which made the game options menu set the game language to "zh-cn" in case "<default>" was selected. Also in case no language key was present in the game's config domain no text was shown at all, now it shows "<default>" in that case again. svn-id: r55267
2010-12-23PLUGINS: switched plugin manager to inheritance rather than #definesYotam Barnoy
The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler. svn-id: r55024
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-05PLUGINS: improved one-at-a-time plugin codeYotam Barnoy
I reduced memory fragmentation using 2 principles: Plugins should be loaded for as little time as possible, and long lasting memory allocations should be allocated before plugins are loaded. There might still be a little fragmentation left. Note that command line settings that require plugins to be loaded don't work yet, but they didn't work (properly) before either. svn-id: r54097
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-11-03Merge from gsoc2010-pluginsYotam Barnoy
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work. svn-id: r54051
2010-10-31Updated with latest from trunkYotam Barnoy
svn-id: r53976
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-09-19I18N: Add lowres context for one string.Thierry Crozat
Also update German and French translations. svn-id: r52808
2010-09-11i18n: Add lowres context in a few placesThierry Crozat
Also update the Italian and French translations. svn-id: r52677
2010-09-05MERGE: Merge trunk to branch.Andre Heider
svn-id: r52564
2010-08-31I18N: Add "lowres" context in one place for the Add Game buttonThierry Crozat
svn-id: r52475
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: 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-13refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIMETony Puccinelli
svn-id: r52058
2010-08-10merged trunk into branch, reverted Cruise Singleton changesTony Puccinelli
svn-id: r51961
2010-08-05added intermediary function 'findGameOnePlugAtATime' and switched load game ↵Tony Puccinelli
and run game code to use it. Added checks for DYNAMIC_MODULES defines to the checks for NEW_PLUGIN_DESIGN_FIRST_REFINEMENT svn-id: r51746
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-06-15GUI: Implemented Languages as GUI options.Eugene Sandulenko
SCUMM and AdvancedDetector support this feature. svn-id: r49786
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: 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-03-29COMMON: Cleanup ConfigManager codeMax Horn
* get rid of ConfigManager::_emptyString * get rid of ConfigManager::Domain::get (use getVal instead) * remove some dead code svn-id: r48417
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-01-25Replace some more Adlib uses by AdLib.Johannes Schickel
svn-id: r47530
2009-12-15Fix a typoJordi Vilalta Prat
svn-id: r46386
2009-12-15GUI: Re-add ellipsis to various button labelsMax Horn
svn-id: r46382
2009-12-15GUI: Fix some GUI hacks, add some comments, etc.Max Horn
* Rename LauncherDialog::selectGame() to selectTarget() * Get rid of the 'temp_selection' ConfMan entry hack * Add some Doxygen comments * Turn a printf(...) into a debug(1,...) * Don't scroll around if 'Mass Add' is cancelled svn-id: r46380
2009-07-15Fix "search" filter being settings lost in launcher, when using the "Edit ↵Johannes Schickel
Game..." menu for example. svn-id: r42510
2009-06-07Added Clear button for search box. Looks a bit off, but we do not yet haveEugene Sandulenko
skinned buttons. svn-id: r41355
2009-06-06GUI: Tweaked the launcher so that TAB switches focus between the list and ↵Max Horn
the quick search field svn-id: r41311
2009-06-06Made fix for empty game list on starting MassAdd a bit more robust.Johannes Schickel
svn-id: r41301
2009-06-06Bring old 'quick search' behavior of games list back.Eugene Sandulenko
svn-id: r41296
2009-06-06Fixed assertion when starting mass add and there are no games currently in ↵Filippos Karapetis
the game list svn-id: r41293
2009-06-06Disable MIDI controls if GUIO_NOMIDI is setEugene Sandulenko
svn-id: r41281
2009-06-06Disable load from the launcher button for AGOS and Gob games with use of GUI ↵Eugene Sandulenko
options svn-id: r41277
2009-06-06Improvements to laucher dialogEugene Sandulenko
- Made quicksearch turned off in the launcher game list - Turn ListWidget into CommandSender - Turn quicksearch off in launcher game list - Connect laucher list widget with search box so search is initiated by typing svn-id: r41269
2009-06-06Implement FR#1970293: "LAUNCHER: Add "quick search" input field like in iTunes"Eugene Sandulenko
svn-id: r41268
2009-06-06Add to launcher not yet functional search widget.Eugene Sandulenko
Make EditableWidget CommandSender svn-id: r41267
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-06Sync all themes with improvements of mass dialog. Fixed list positioningEugene Sandulenko
svn-id: r41264
2009-06-06Implement FR#2707442: "GUI: Improve Mass Add dialog"Eugene Sandulenko
svn-id: r41263
2009-06-06Implement FR#1522626: "GUI: Friendlier "Add Game" session"Eugene Sandulenko
svn-id: r41236
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867