aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2010-09-01i18n: Update Russian translationEugene Sandulenko
svn-id: r52483
2010-08-31I18N: Add "lowres" context in one place for the Add Game buttonThierry Crozat
svn-id: r52475
2010-08-30I18N: Update translation template and all translations.Thierry Crozat
svn-id: r52462
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-20GUI: fix crash when localized font could not be foundThierry Crozat
The ThemeEngine had a fallback implemented to use the non-localized font if the localized one (e.g. for Hungarian) could not be found. However the fallback was not working. Now it is working. svn-id: r52243
2010-08-19i18n: add translations.dat fileEugene Sandulenko
svn-id: r52209
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-08-07fixed a typo with hotkeys in ButtonWidgetNeeraj Kumar
svn-id: r51830
2010-08-05GUI: Fix classic theme's GMM in 320x200.Johannes Schickel
svn-id: r51756
2010-08-02GUI: Fix valgrind warning.Johannes Schickel
svn-id: r51658
2010-08-01i18n: Adding Spanish and Ukrainian translationsThierry Crozat
svn-id: r51596
2010-08-01GUI: Fix loading BDF fonts from theme archives.Johannes Schickel
svn-id: r51585
2010-08-01i18n: Added Cyrillic fonts to theme packagesEugene Sandulenko
This fixes ScummVM startup on systems with Russian set as locale. svn-id: r51571
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-27GUI: Rename Font cache to match new font naming schemeEugene Sandulenko
svn-id: r51388
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-25GUI: Fix MIDI gain position in MIDI tab for lowres classic theme.Johannes Schickel
svn-id: r51277
2010-07-24GUI: Fix overdrawn tabsEugene Sandulenko
If tabs are scrolled, do not draw those which are supposed to be invisible. svn-id: r51268
2010-07-24GUI: Update built-in themeEugene Sandulenko
svn-id: r51266
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-23GUI: Fix bug #3024930Eugene Sandulenko
Bug #3024930: "GUI: GMM errors out in Hercules mode". Fixed by switching Hercules resolutions to lowres GUI. svn-id: r51226
2010-07-23GUI: Fix tooltip drawingEugene Sandulenko
With help of Tanoku tooltips were switched from widgets to dialogs which helped to fix nasty bug with background not being restored. Although it is basically a hack around inconsistent font backbuffering in our GUI code, for the time being it is feasible. The patch was extended with way to specify tooltip background in the theme file. svn-id: r51217
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-19GUI: Enhance ThemeEngine to find theme .zip files using SearchManMax Horn
This is based on the Android specific patch found under: backends/platform/android/scummvm-android-themeengine.patch After some testing we should be able to get rid of that custom patch. svn-id: r51028
2010-07-17Fixing compilation with MSVCFilippos Karapetis
svn-id: r50966
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-07-17DEBUGGER: Simplify how our console debugger works / is usedMax Horn
* Remove _isAttached member var and isAttached method * Engines now always call the onFrame method; whether it does something is decided by the debugger class resp. its subclasses * Make detach() protected instead of private, so that subclasses can invoke it * Remove _detach_now member var (call detach() instead). * Rename _frame_countdown to _frameCountdown and properly document it. * Add more doxygen comments * Cleanup svn-id: r50963
2010-07-16Cleanup.Torbjörn Andersson
svn-id: r50925
2010-07-12Properly add Matteo Angelino to our credits for his Italian translation.Johannes Schickel
svn-id: r50822
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-07-04Fix the size of the ScummVM logo in the launcher in the modern theme.Johannes Schickel
svn-id: r50642
2010-07-04Prevent GraphicsWidget from being assigned a surface which wouldn't fit in ↵Johannes Schickel
the widget. svn-id: r50641
2010-07-04Always use kThumbnailHeight2 (i.e. 120) for the height of the thumbnail widget.Johannes Schickel
This fixes the thumbnails for games with resolutions != n*200 in the launcher. svn-id: r50640
2010-07-04Center the surface of a GraphicsWidget in case it is smaller than the ↵Johannes Schickel
widget's size. svn-id: r50639
2010-06-29enable reading ZIP archives even without USE_ZLIBRobert Špalek
our module unzip.cpp can read uncompressed ZIP archives even without zlib. if some of the files inside are compressed and zlib is not linked in, an error is returned. svn-id: r50483
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-28common console: also show prompt, if the engine wrote onto gui console since ↵Martin Kiewitz
last call - fixes sci breakpoints svn-id: r50449