aboutsummaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2010-11-25GUI: Changed wording of "Disable dithering" to "Enable undithering"Filippos Karapetis
svn-id: r54467
2010-11-23I18N: Updating French, Portuguese and Hungarian translations.Thierry Crozat
All other translation files are also updated from the template file but without change in the translations. svn-id: r54450
2010-11-21I18N: Add Brazilian Portuguese (from patch #3114669)Thierry Crozat
svn-id: r54411
2010-11-18GUI: Make activeDialog in runLoop const, since it should not be changed.Johannes Schickel
svn-id: r54346
2010-11-18GUI: Simplify Tooltip implementation.Johannes Schickel
Formerly there was much special handling for the Tooltip dialog in GuiManager::runLoop. This was replaced by overloading the event handling functions in Tooltip. Also the Tooltip was adapted to be run like every other normal dialog. svn-id: r54337
2010-11-18GUI: changed tooltip to be deleted when inactiveYotam Barnoy
Before, it could be instantiated after an engine loaded and then was never deleted, causing memory fragmentation. Also removed inner tooltip call to the GuiManager runloop, which makes the logic simpler since the tooltip is a bit of a hack. I had to remove it because deleting _tooltip in the inner loop (called from tooltip itself) is trouble. svn-id: r54311
2010-11-16GUI: Fixed build failure in console due to missing header.David Turner
svn-id: r54268
2010-11-16GUI: Push down some header (inter)dependenciesMax Horn
svn-id: r54267
2010-11-16GUI: Commit some changes missing in my previous commit (oops)Max Horn
svn-id: r54266
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-16GUI: Fixed Memory Leak in RadiobuttonGroup usage in Options Dialog.David Turner
RadiobuttonGroup has a destructor which must be called to avoid leaking memory. Have also added missing NULL init() declarations on object member pointers to avoid any future issues. svn-id: r54260
2010-11-16COMMON: Simplify DECLARE_SINGLETON macroMax Horn
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258
2010-11-15GUI: Fix bug in ThemeEngine::addFont related to localized fontsMax Horn
Basically, it was remembering the font under its non-localized name. This resulted in a leak, and potentially could have caused the wrong font to be used in a localization. svn-id: r54256
2010-11-15GUI: Tweak ThemeEngine methods to use Common::String params & const qualifierMax Horn
svn-id: r54255
2010-11-15CREDITS: Add Hungarian translator.Thierry Crozat
svn-id: r54252
2010-11-15I18N: Update Hungarian translation and add iso-8859-2 fonts to themes.Thierry Crozat
The new Hungarian translation is from patch #3109396 svn-id: r54251
2010-11-09GUI: Added IS8859-7 fonts. Helvetica is missingEugene Sandulenko
svn-id: r54172
2010-11-09GUI: Generate iso8859-2 codepage fontsEugene Sandulenko
svn-id: r54171
2010-11-09GUI: Added original 5x8 fontEugene Sandulenko
svn-id: r54170
2010-11-07CREDITS: Add myself to the Infrastructure section (after talking with Max).Johannes Schickel
svn-id: r54112
2010-11-07CREDITS: Mark Joachim Eberhard as retired.Johannes Schickel
svn-id: r54110
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-05GUI: Better description of the dithering checkboxFilippos Karapetis
svn-id: r54092
2010-11-05GrammarFilippos Karapetis
svn-id: r54091
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-05SCUMMVM: Bumped theme version to 0.81.Filippos Karapetis
This fixes regression #3103351 - "GUI: Crashes on Edit Game/Options Buttons" svn-id: r54088
2010-11-04GUI: Fix build with readline enabledWillem Jan Palenstijn
svn-id: r54067
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-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
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