aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2010-11-01GUI: Rename ConsolDialog methods (v)printf, putcharMax Horn
svn-id: r54006
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31WINCE: Code formattingMax Horn
svn-id: r53979
2010-10-31WINCE: Enable use of forbidden symbols, cleanupMax Horn
I tried to untangle the header interdependencies a bit, but this is still quite a mess. This commit also fixes some warnings. svn-id: r53978
2010-10-31Updated with latest from trunkYotam Barnoy
svn-id: r53976
2010-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2010-10-30GUI: Don't #include Mac OS X sys header hereMax Horn
svn-id: r53960
2010-10-26Update creditsMax Horn
svn-id: r53862
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-24Revert r53747: "GUI: added close() call to Dialog::runModal()"Willem Jan Palenstijn
It broke the launcher after adding new games. svn-id: r53765
2010-10-23GUI: added close() call to Dialog::runModal()Yotam Barnoy
This should prevent a small leak in the GuiManager when adding the dialog to the stack. Check for any regressions. svn-id: r53747
2010-10-20CREDITS: Commit the result of 'make credits'.John Willis
svn-id: r53643
2010-10-18CREDITS: Add lastexpress engineJulien Templier
svn-id: r53590
2010-10-18Revert "GUI: Use vprintf in Console class. Patch by littleboy"Eugene Sandulenko
svn-id: r53585
2010-10-18GUI: Use vprintf in Console class. Patch by littleboyEugene Sandulenko
svn-id: r53577
2010-10-16CREDITS: Sync credits with r53530.Johannes Schickel
svn-id: r53531
2010-10-15COMMON: Add XMLParser::parseIntegerKey variant accepting a Common::StringMax Horn
Almost all places where we used XMLParser::parseIntegerKey were using it like this: XMLParser::parseIntegerKey(str.c_str(), ...) Since this makes the code harder to read, I overloaded the method to also accept Commmon::String directly. Also removed all .c_str() invocations where necessary. svn-id: r53479
2010-10-13CREDITS: Add Sword2.5 team. The wording was agreed with themEugene Sandulenko
svn-id: r53448
2010-10-12CREDITS: Added qvist to credits per his requestEugene Sandulenko
svn-id: r53164
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
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-10GUI: Message dialog width Arnaud Boutonné
Ensure the message dialog is wide enough when it contains 2 buttons. This is used by Hugo's engine, e.g. when Exiting the DOS versions. svn-id: r53114
2010-10-10GUI: Clean up my previous commit.Torbjörn Andersson
svn-id: r53112
2010-10-10GUI: Ensure that the message dialog is wide enoughTorbjörn Andersson
The Hugo engine currently uses the message dialog. Make sure that the dialog is always at least wide enough to hold the "Ok" button. svn-id: r53107
2010-10-02I18N: Update German translation in trunkThierry Crozat
svn-id: r52982
2010-10-02i18n: Update Russian translationEugene Sandulenko
svn-id: r52979
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-30I18N: Add translation for wince specific titles for key mapping dialogThierry Crozat
Also backport fix from branch on translation of default title for key mapping dialog. svn-id: r52959
2010-09-28GUI: Replace GUI_ENABLE_BUILTIN_THEME by DISABLE_GUI_BUILTIN_THEMEMax Horn
svn-id: r52936
2010-09-28ALL: Fixup some #define namesMax Horn
svn-id: r52935
2010-09-25GUI: Partial fix to bug #3075649 Fonts not found with buit-in themeThierry Crozat
When the locale font are not found when loading the theme, it now fallbacks to default language (i.e. English) and default font. For this to work I had to move the TranslationManager initialization before the Theme is loaded. Therefore it is now initialized when the GuiManager is constructed. svn-id: r52896
2010-09-25I18N: Update Spanish and French translationsThierry Crozat
svn-id: r52893
2010-09-22I18N: Update Ukrainian translationThierry Crozat
svn-id: r52861
2010-09-21I18N: Update the catalan translation.Jordi Vilalta Prat
svn-id: r52851
2010-09-21GUI: Quick fix for the mute checkbox label being cut in the in-game optionsThierry Crozat
This happened with some translations as the width of the checkbox was fixed to 80 pixels, even though more space was available. I have increased it to 120 pixels. svn-id: r52849
2010-09-21I18N: Update Italian translationThierry Crozat
svn-id: r52847
2010-09-20GUI: Give slightly more space to the options label in scummmodern themeThierry Crozat
I think I have checked everywhere and it looks good both in English and in French. This might help for future translations. I am not committing the change to the 1.2.0 branch though as I am not completely sure it is harmless. svn-id: r52830
2010-09-20GUI: Fix Subtitles speed option cut in Audio tab of game options.Thierry Crozat
In normal (no scaling) mode and aspect ratio correction turned off, the height of the Audio tab of the game options was too small and the subtitle speed option was subsequently cut. svn-id: r52829
2010-09-20I18N: Update Spanish German and French translationsThierry Crozat
svn-id: r52822
2010-09-19I18N: Add lowres context for one string.Thierry Crozat
Also update German and French translations. svn-id: r52808
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-16I18N: Update Spanish translationThierry Crozat
svn-id: r52753
2010-09-15I18N: Add translation for load/save success or failure messagesThierry Crozat
Also improve and update the french translation. svn-id: r52740
2010-09-14I18N: Update Spanish and Italian translationsThierry Crozat
svn-id: r52725
2010-09-14GUI: Remove dead code.Johannes Schickel
This code was added when tooltip support was added. Since we changed the way how tooltips are drawn later on, this code is not required anymore. Actually it was never used, but it could've been used to save/restore the state of the GUI for the tooltips. svn-id: r52717
2010-09-14GUI: Fix caret undrawing. (Regression from r48551)Johannes Schickel
Starting with r48551 the caret undrawing caused the text selection color in ListWidgets to be removed. It also added a slight offset to the character next to the undrawn caret. All this is fixed now. svn-id: r52716
2010-09-13I18N: Update German translationThierry Crozat
svn-id: r52714