aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
AgeCommit message (Collapse)Author
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
2009-05-13Enable Audio options for a game when OPL driver is overridden.Eugene Sandulenko
svn-id: r40532
2009-04-18Patch #2761396: "Typo fixes to README and comments"Eugene Sandulenko
svn-id: r39993
2009-02-17When adding games from a directory the user had no permissions to, instead ↵Oystein Eftevaag
of exiting with an error we'll (for normal adds) show an error message and (for mass adds) just continue in the list. svn-id: r38448
2009-02-15properly (re)select game after adding/editing domain name in launcherWillem Jan Palenstijn
svn-id: r38313
2009-02-07Third attemp at fixing release-critical #2472185. Also fixes regression ↵Vicent Marti
reported in #2555710. svn-id: r36227
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-10Moved some stuff from the EditGameDialog constructor to its open() method toTorbjörn Andersson
avoid uninitialised variables. (This is similar to some bugs that were fixed earlier today.) svn-id: r35811
2009-01-08Fixed revertion to "Add game" button string after a "Mass add" was processed.Johannes Schickel
svn-id: r35788
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-12Renamed Graphics::TextAlignment -> Graphics::TextAlign and merged it with ↵Max Horn
GUI::ThemeEngine::TextAlignVertical svn-id: r35023
2008-11-11Moved GUI::SaveLoadChooser to its own source fileMax Horn
svn-id: r35002
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-11-09Fixed an off-by-one error in the save slot gap filling codeFilippos Karapetis
svn-id: r34980
2008-11-09Cleanup and simplificationFilippos Karapetis
svn-id: r34979