Commit Graph

2000 Commits

Author SHA1 Message Date
Thierry Crozat
37aa513815 I18N: Add polish translation (patch #3162838)
svn-id: r55435
2011-01-22 16:46:32 +00:00
David Turner
6412b1d2c7 GUI: Fix Memory Leak from PicButtonWidget _gfx Member.
This widget is only currently used by Hugo.

svn-id: r55364
2011-01-20 22:32:30 +00:00
Thierry Crozat
024b7758c5 I18N: Update credits and NEWS file after adding two new GUI translations
svn-id: r55339
2011-01-19 23:05:06 +00:00
Thierry Crozat
a9bbfb1fcd I18N: Add Norwegian Nynorsk and Danish translations
Norwegian Nynorsk translation was submitted in patch #3142157
Danish translation was submitted in patch #3153476

svn-id: r55338
2011-01-19 23:02:45 +00:00
Johannes Schickel
99f62728a3 GUI: Fix implicit signed to unsigned conversion warnings for some compilers.
svn-id: r55313
2011-01-18 21:03:13 +00:00
Johannes Schickel
2633a70018 GUI: Fix language popup in the game options.
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
2011-01-16 20:12:55 +00:00
Eugene Sandulenko
04a9082d02 GUI: Implement PicButtonWidget
It is a button with picture intead of text. To be used by Hugo engine

svn-id: r55099
2011-01-03 12:23:50 +00:00
Arnaud Boutonné
6a299ce0b8 COPYRIGHT: Update copyright year - Happy new year!
svn-id: r55082
2010-12-31 23:04:49 +00:00
Yotam Barnoy
ee2b1092ab PLUGINS: switched plugin manager to inheritance rather than #defines
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-12-23 13:38:37 +00:00
Johannes Schickel
44dfb67faa GUI: Adapt GUI themes to latest Mohawk resolution change.
svn-id: r54944
2010-12-17 12:23:59 +00:00
Thierry Crozat
27e7da7340 I18N: Add Norwegian (Bokmaal) translation (patch #3134466)
svn-id: r54876
2010-12-12 00:24:19 +00:00
Thierry Crozat
bf044c0212 I18N: Update Brazilian Portuguese translation (from patch #3131421)
svn-id: r54836
2010-12-08 22:03:35 +00:00
Max Horn
6edc86a19b DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
2010-12-07 18:54:21 +00:00
Thierry Crozat
06310f8176 I18N: Update Brazilian Portuguese translation
svn-id: r54788
2010-12-05 21:55:26 +00:00
Johannes Schickel
a29adaa77c GUI: Prevent high res versions of the themes to be picked for 544x333.
This fixes a problem in case the high resolution theme file was picked up
before the low resolution theme file and thus it was directly chosen.

svn-id: r54746
2010-12-02 21:54:55 +00:00
Johannes Schickel
d6fadb2cb4 GUI: Change the themes to use their low res version for 544x333.
This fixes an assertion in Myst when opening the GMM. The GMM in Myst looks a
bit odd now though.

svn-id: r54745
2010-12-02 21:46:11 +00:00
Thierry Crozat
a2e49af864 I18N: Update Hungarian translation (from patch #3124359)
svn-id: r54738
2010-12-02 20:43:37 +00:00
Jordi Vilalta Prat
8393bc5b5f I18N: Don't build TranslationManager when translation is disabled.
svn-id: r54684
2010-11-30 18:50:19 +00:00
Thierry Crozat
ae1607cd99 i18N: Update all translation files from template file.
German has also an updated translation.

svn-id: r54548
2010-11-28 19:24:44 +00:00
Filippos Karapetis
3abab136da GUI: Changed wording of "Disable dithering" to "Enable undithering"
svn-id: r54467
2010-11-25 02:35:18 +00:00
Thierry Crozat
64f959ea0e I18N: Updating French, Portuguese and Hungarian translations.
All other translation files are also updated from the template file but without
change in the translations.

svn-id: r54450
2010-11-23 22:49:45 +00:00
Thierry Crozat
8c0160cca6 I18N: Add Brazilian Portuguese (from patch #3114669)
svn-id: r54411
2010-11-21 22:12:31 +00:00
Johannes Schickel
1fea2b733c GUI: Make activeDialog in runLoop const, since it should not be changed.
svn-id: r54346
2010-11-18 21:32:42 +00:00
Johannes Schickel
8cd20c70a9 GUI: Simplify Tooltip implementation.
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-18 18:17:00 +00:00
Yotam Barnoy
b77ef177ed GUI: changed tooltip to be deleted when inactive
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-18 07:17:53 +00:00
David Turner
de0f878d1e GUI: Fixed build failure in console due to missing header.
svn-id: r54268
2010-11-16 11:07:48 +00:00
Max Horn
5b735131ba GUI: Push down some header (inter)dependencies
svn-id: r54267
2010-11-16 10:29:31 +00:00
Max Horn
f3f73a7832 GUI: Commit some changes missing in my previous commit (oops)
svn-id: r54266
2010-11-16 10:24:16 +00:00
Max Horn
668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
427dc1ae93 GUI: Move major widgets to new directory gui/widgets
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-16 10:11:57 +00:00
David Turner
a9b3dccaaa GUI: Fixed Memory Leak in RadiobuttonGroup usage in Options Dialog.
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-16 09:26:35 +00:00
Max Horn
abe1959d36 COMMON: Simplify DECLARE_SINGLETON macro
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-16 08:23:13 +00:00
Max Horn
3450f47667 GUI: Fix bug in ThemeEngine::addFont related to localized fonts
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-15 23:52:06 +00:00
Max Horn
8799db594e GUI: Tweak ThemeEngine methods to use Common::String params & const qualifier
svn-id: r54255
2010-11-15 23:51:46 +00:00
Thierry Crozat
2c058a1235 CREDITS: Add Hungarian translator.
svn-id: r54252
2010-11-15 21:01:48 +00:00
Thierry Crozat
df73b6d49f I18N: Update Hungarian translation and add iso-8859-2 fonts to themes.
The new Hungarian translation is from patch #3109396

svn-id: r54251
2010-11-15 20:59:41 +00:00
Eugene Sandulenko
a537ddb614 GUI: Added IS8859-7 fonts. Helvetica is missing
svn-id: r54172
2010-11-09 21:31:23 +00:00
Eugene Sandulenko
b00c631f20 GUI: Generate iso8859-2 codepage fonts
svn-id: r54171
2010-11-09 21:30:00 +00:00
Eugene Sandulenko
f4a78c9b0c GUI: Added original 5x8 font
svn-id: r54170
2010-11-09 21:29:04 +00:00
Johannes Schickel
708593c7a0 CREDITS: Add myself to the Infrastructure section (after talking with Max).
svn-id: r54112
2010-11-07 02:24:31 +00:00
Johannes Schickel
05986f09fd CREDITS: Mark Joachim Eberhard as retired.
svn-id: r54110
2010-11-07 02:13:22 +00:00
Yotam Barnoy
a6bee87990 PLUGINS: improved one-at-a-time plugin code
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-05 13:24:57 +00:00
Filippos Karapetis
4f3cedd11f GUI: Better description of the dithering checkbox
svn-id: r54092
2010-11-05 11:17:57 +00:00
Filippos Karapetis
18345b970d Grammar
svn-id: r54091
2010-11-05 10:58:48 +00:00
Filippos Karapetis
2416cbf75b COMMON/GUI/SCI: Changes to the EGA dithering checkbox
- 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-05 10:53:37 +00:00
Filippos Karapetis
7c8470255c SCUMMVM: Bumped theme version to 0.81.
This fixes regression #3103351 - "GUI: Crashes on Edit Game/Options Buttons"

svn-id: r54088
2010-11-05 10:16:36 +00:00
Willem Jan Palenstijn
92841e9832 GUI: Fix build with readline enabled
svn-id: r54067
2010-11-04 16:09:20 +00:00
Filippos Karapetis
1dac4fbd55 SCI/SCUMMVM: Added an option to enable the dithering removal algorithm (so 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-04 15:58:53 +00:00
Yotam Barnoy
13b904d282 Merge from gsoc2010-plugins
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-03 22:01:01 +00:00
Max Horn
a984fb17c2 GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warnings
svn-id: r54007
2010-11-01 16:03:35 +00:00