Commit Graph

2491 Commits

Author SHA1 Message Date
Johannes Schickel
80ae9d7d34 GUI: Allow tooltips to be changed after widget creation. 2012-06-20 03:31:50 +02:00
Matthew Hoops
625f6cc716 Merge remote branch 'upstream/master' into pegasus 2012-06-16 01:43:32 -04:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
72ea449431 GUI: Hook up the new load chooser for > 320x200 and engines which support thumbnails. 2012-06-15 23:03:18 +02:00
Johannes Schickel
b4882ce6bd GUI: Implement a new load chooser, which displays a list of thumbnails. 2012-06-15 23:03:18 +02:00
Johannes Schickel
1aa5200bb8 GUI: Create an interface for save/load dialogs. 2012-06-15 23:03:02 +02:00
Johannes Schickel
62c66cdb9c GUI: Fix include guard of saveload.h. 2012-06-14 03:17:33 +02:00
Johannes Schickel
e866dfd406 GUI: Refactor engine plugin access out of SaveLoadChooserImpl into SaveLoadChooser. 2012-06-14 03:13:49 +02:00
Johannes Schickel
27b8b7e9b6 GUI: Hide save/load chooser implementation. 2012-06-14 03:01:11 +02:00
Johannes Schickel
84ed361370 GUI: Remove unused SaveLoadChooser::setList. 2012-06-14 02:59:52 +02:00
Johannes Schickel
cebbc11dac GUI: Allow Surfaces with abitrary RGB pixel formats to be used in PicButtonWidget and GraphicsWidget.
Only 1Bpp aka paletted surfaces are not supported.
2012-06-13 04:48:34 +02:00
Johannes Schickel
d5eb3e3c06 GUI: Allow querying of the pixel format used by ThemeEngine. 2012-06-13 04:32:11 +02:00
Johannes Schickel
13f9349457 GUI: Take advantage of Surface::fillRect in GraphicsWidget::setGfx. 2012-06-12 04:18:59 +02:00
Johannes Schickel
49fafb48a7 GUI: Refactor default savegame description creation.
Formerly the GMM, AGI and SCI duplicated the logic for USE_SAVEGAME_TIMESTAMP.
Now I added a method to SaveLoadChooser instead, which takes care of this. This
might not be the best placement of such a functionality, thus I added a TODO
which talks about moving it to a better place.
2012-06-10 05:04:59 +02:00
Johannes Schickel
7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel
15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Matthew Hoops
e67ba769b3 Merge remote branch 'upstream/master' into pegasus 2012-05-28 17:00:50 -04:00
Thierry Crozat
792d1e6f6a I18N: Regenerate translation data file 2012-05-27 21:02:25 +01:00
Matthew Hoops
f1f6a82cd5 Merge remote branch 'upstream/master' into pegasus 2012-05-25 00:35:38 -04:00
Oleksiy Kurochko
97065c95e6 GUI: Fix bug with button pressed state 2012-05-07 09:54:32 +03:00
Matthew Hoops
e80d622fa5 Merge remote branch 'upstream/master' into pegasus 2012-05-04 23:32:29 -04:00
Johannes Schickel
0c312f8753 GUI: Remove unecessary ";". 2012-05-03 18:43:09 +02:00
Oleksiy Kurochko
24a45beceb GUI: Use pressed state in predictive dialog in keyboard mode.
This adds more visual feedback to the user.
2012-05-03 19:32:34 +03:00
Oleksiy Kurochko
e6c317a922 GUI: Implemented pressed state for buttons 2012-05-03 19:32:08 +03:00
Matthew Hoops
9971e74c4c Merge remote branch 'upstream/master' into pegasus
Conflicts:
	base/plugins.cpp
	configure
2012-04-19 08:16:24 -04:00
Thierry Crozat
7332bc7475 I18N: Regenerate translations data file 2012-04-18 23:36:24 +01:00
Thierry Crozat
93f1586be8 I18N: Add translations for the Loom FM Towns proficiency level
Those are the official French, Spanish and Italian translations from the
DOS versions of the game (thanks to Simsaw for providing them).
2012-04-17 19:36:06 +01:00
Matthew Hoops
b6374a3103 Merge remote branch 'upstream/master' into pegasus 2012-04-02 10:07:45 -04:00
Martin Böhm
0df36e3a73 GUI: Fixed scrollbar button highlighting and positioning.
Fixes bug #3493324.
2012-03-29 18:43:08 +02:00
Johannes Schickel
b8065a4392 GUI: Move "I18N" tagged comment to matching strings.
The strings are not marked for translation, so I am not sure why the comments
are tagged with I18N though.
2012-03-29 02:23:44 +02:00
Johannes Schickel
388e04bb6d GUI: Add TODO/FIXME to PredictiveDialog::handleTickle. 2012-03-29 02:12:32 +02:00
Johannes Schickel
a7ee1dc42b GUI: Remove unnecessary goto in PredictiveDialog code. 2012-03-29 02:08:09 +02:00
Johannes Schickel
6ed2d15c44 GUI: Take advantage of Common::String::empty. 2012-03-29 02:07:02 +02:00
Johannes Schickel
7414544121 GUI: Constify some parameters/methods in PredictiveDialog. 2012-03-29 02:05:45 +02:00
Johannes Schickel
988c3fd6c5 GUI: Make some static strings in PredictiveDialog static + const. 2012-03-29 02:00:25 +02:00
Johannes Schickel
02e77dd7b2 GUI: Don't typedef Common::String in PredictiveDialog code. 2012-03-29 01:53:09 +02:00
Johannes Schickel
f3a19ea6aa GUI: Get rid of "using namespace Common" in predictivedialog.cpp. 2012-03-29 01:50:52 +02:00
Johannes Schickel
15ff9380b5 GUI: Formatting fixes in the PredictiveDialog code. 2012-03-29 01:50:00 +02:00
D G Turner
371bc1ddc1 GUI: Fix for WinCE compile failure after predictive dialog changes.
This is probably due to a collision with WinCE toolchain system define,
so changing the enum from all capitalised to Camel Case constant style.
2012-03-25 23:29:19 +01:00
D G Turner
8b1a01b12d GUI: Corrected fix for NDS compile failure...
Header needed to be in global, not GUI namespace.
2012-03-25 20:23:16 +01:00
Filippos Karapetis
570237ea51 GUI: Remove leftover code for the global dithering checkbox 2012-03-25 22:18:35 +03:00
D G Turner
9e93b8306d GUI: Fix for NDS compile failure after predictive dialog changes. 2012-03-25 20:15:53 +01:00
Filippos Karapetis
346c1fe461 GUI: Change the undithering checkbox to be an engine-specific option 2012-03-25 18:51:23 +03:00
Paweł Kołodziejski
94081bfbfd GUI: convert bitmap to make compatible 2012-03-25 12:44:20 +02:00
Oleksiy Kurochko
ec32ccb6d6 GUI: Move predictive dialog to common gui 2012-03-25 12:21:38 +03:00
Eugene Sandulenko
9b2471aeee Merge pull request #211 from lordhoto/game-gui-options-v2
GUI: Game gui options
2012-03-25 01:38:46 -07:00
Thierry Crozat
5ae9c96fed I18N: Update Czech translation from patch #3508096 2012-03-23 20:17:14 +00:00
Matthew Hoops
1e8eea4268 CREDITS: Add pegasus 2012-03-21 14:55:12 -04:00
Matthew Hoops
426c81a7a7 GRAPHICS: Rewrite ImageDecoder to have an improved API
The new bitmap decoder class is based off the Mohawk one, and now has 8bpp decoding capability.
2012-03-20 01:06:47 +01:00
Filippos Karapetis
c84cd8dee8 GUI: Add per-engine and per-game options 2012-03-19 20:32:34 +01:00
Eugene Sandulenko
34198fda35 Merge pull request #203 from fingolfin/guio-cleanup
COMMON: GuiOptions cleanup
2012-03-17 03:51:27 -07:00
Eugene Sandulenko
56252909f5 Merge pull request #202 from tsoliman/keymapper-nonkey-inputs
KEYMAPPER: Add Gesture Support
2012-03-17 03:46:46 -07:00
Thierry Crozat
03be03bb47 I18N: Update Basque translation from patch #3499452 2012-03-14 20:02:17 +00:00
Christoph Mallon
e40ba4c135 JANITORIAL: Simply use *x instead of *x.get() on smart pointers. 2012-03-13 15:43:59 +01:00
Christoph Mallon
75efdd2d84 JANITORIAL: Replace (x ? false : true) by !(x). 2012-03-13 15:43:36 +01:00
Thierry Crozat
d2d31de8cb I18N: Update translation data file 2012-03-11 13:21:42 +00:00
Thierry Crozat
e08ab4e8aa CREDITS: Add credits for Basque translation 2012-03-11 13:21:42 +00:00
Thierry Crozat
7cb82f5e12 I18N: Regenerate translations data file 2012-03-07 22:16:58 +00:00
Tarek Soliman
d12f21b31d KEYMAPPER: Map non-key custom input events
This also makes the keymapper be in charge of keymapping logic
2012-03-02 20:48:50 -06:00
Max Horn
92d219715f COMMON: Replace OptionsDialog::renderType2GUIO by API in rendermode.h 2012-02-29 11:43:21 +01:00
Max Horn
215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +01:00
Johannes Schickel
73df649fd6 GUI: Let edit text widgets use a non-bold (aka normal) font.
This change was done per request of _sev.
2012-02-25 18:52:47 +01:00
Torbjörn Andersson
6b17507b76 GUI: Fix "clear" buttons after theme switch (bug #3482459)
Because the "clear" buttons are very different between themes (in
the Modern theme they have a graphical symbol, while in the Classic
theme they have a letter), they have to be removed and re-added
when reflowing the layout. This is patterned after how the
LauncherDialog class handles the larger changes in layout.

Removing widgets from a tab turned out to be trickier than I first
thought, so I had to move the removeWidget() method from Dialog to
GuiObject.
2012-02-24 22:20:50 +01:00
athrxx
3b574466fa COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modes
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
2012-02-24 18:09:38 +01:00
Johannes Schickel
442bcb7d3e ALL: Fix some signed/unsigned comparison warnings. 2012-02-22 20:20:55 +01:00
athrxx
d9c05f7121 COMMON: add gui options for rendering modes
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2012-02-21 21:48:35 +01:00
Willem Jan Palenstijn
9ffe3e11d9 Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
2012-02-21 11:33:32 -08:00
Tarek Soliman
aa42d78658 KEYMAPPER: Remove automapping dead code 2012-02-21 08:20:40 -06:00
Willem Jan Palenstijn
2957321903 GUI: Rewrite AA rounded square renderer
This fixes bleeding of colours between different regions.
It also turns 'bevel' into an option that turns the stroke into a bevel,
and implements antialiased gradient-fills.
2012-02-20 22:17:28 +01:00
Max Horn
4f8665fc83 COMMON: Move isFoo functions to namespace Common, add doxygen comments 2012-02-20 16:18:27 +01:00
Tarek Soliman
3f6d549b0e KEYMAPPER: Move F7 and F8 handling to DefaultEventMapper 2012-02-20 06:49:22 -06:00
Thierry Crozat
f89bfcc3b6 I18N: Regenerate translations data file 2012-02-19 12:16:36 +00:00
Eugene Sandulenko
1030212aa2 I18N: Regenerate translations.dat 2012-02-16 13:10:27 +02:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Tarek Soliman
5cf932198e KEYMAPPER: Fix Action ctor args in most keymaps 2012-02-13 23:24:59 -06:00
Tarek Soliman
da4b03139d KEYMAPPER: Added Toggle FullScreen action 2012-02-04 19:53:57 -06:00
Johannes Schickel
8b172f0cef GUI: Put bitmap items in the on-screen draw queue when doing buffering.
This fixes bug #3482461 "GUI: X image on clear buttons might be vanishing".

I am afraid I can't really tell why this fixes the bug though.

This is a backport of a small part of MaximRussia's changes to the queueing
code. So thanks to him for this fix.
2012-02-03 19:15:09 +01:00
Eugene Sandulenko
2d6fda8c85 CREDITS: Added Daniel Balsom which is a stupid overlook 2012-01-31 21:32:17 +02:00
Johannes Schickel
453eeb496c GUI: Work around bug #3481395.
The bug in question is: "LAUNCHER: Can't quit from unsupported game dialog".
2012-01-30 23:00:16 +01:00
Thierry Crozat
88829b7ea3 I18N: Regenerate translations data file 2012-01-29 21:40:34 +00:00
Johannes Schickel
f41bc8bd98 GUI: Slight formatting fix. 2012-01-29 21:17:01 +01:00
Johannes Schickel
6895ea9ea1 GUI: Fix compilation with --disable-translation. 2012-01-29 19:18:36 +01:00
Johannes Schickel
00cc48f83d GUI: Add GNU FreeFont TTFs for use with our modern theme. 2012-01-29 16:26:20 +01:00
Johannes Schickel
b0dfd08ff9 GUI: Fix anti-aliased font drawing of checkbox/radio button texts.
Formerly the text background was not restored thus every time it got redrawn
the text got thicker.
2012-01-29 16:26:20 +01:00
Johannes Schickel
f63df3bf7b GRAPHICS/GUI: Implement charset mapping for TTF fonts.
The charsets used by the translations now need to have a "$(name).cp" file,
which contains an charset index => unicode mapping. Otherwise
create_translations will fail.
2012-01-29 16:26:20 +01:00
Johannes Schickel
9f3fbe1bd7 GRAPHICS/GUI: Implement kerning support for Font.
This adapts the related graphics code, which is the generic Font API and the
TTF font implementation.

It furthermore adapts the GUI to properly take care of kerning in text input
widgets.
2012-01-29 16:26:20 +01:00
Johannes Schickel
d21ae1aa40 GUI: Add support for loading TTF files with ISO-8859-1 charset. 2012-01-29 16:26:20 +01:00
Klaus Reimer
9ee0526541 CREDITS: Added Tom Frost as contributor to WebOS port. 2012-01-28 11:19:39 +01:00
Max Horn
f57b66e984 MACOSX: Replace use of a 10.4 only API by one available since 10.0 2012-01-14 20:13:50 +01:00
Matthew Hoops
e72201c6cc GUI: Make eraser.bmp a Windows v3 bitmap
We don't have proper support for v4 bitmaps
2012-01-08 20:40:27 -05:00
Tarek Soliman
37d77253cf KEYMAPPER: Add failsafe code for popping into Keymapper itself
Thanks LordHoto
2012-01-07 22:08:57 -06:00
Tarek Soliman
73160e54b4 KEYMAPPER: Only push/pop the gui keymap once per gui session
The removes a bit of waste when gui dialogs are opened.
Multiple gui keymaps were being pushed.
2012-01-07 20:48:49 -06:00
Johannes Schickel
050b8e3360 GUI: Rework how the default localized font is managed.
Now we set the default localized font to the "text_default" font of the
currently active theme and default to the big GUI font in case none is
specified properly.
2012-01-07 01:03:07 +01:00
Johannes Schickel
0d3e79cf77 GUI: Simplify font loading a bit more. 2012-01-07 00:35:26 +01:00
Johannes Schickel
47edab71e8 GUI: Do an case-insensitive filename comparison.
Should be a bit safer, in case there's files with different cases, which match
by chance.
2012-01-06 22:27:26 +01:00
Johannes Schickel
4531f0173e GUI: Slight cleanup for font/image loading. 2012-01-06 22:24:12 +01:00
Johannes Schickel
08b6f28d54 GRAPHICS: Rework BDF font code. 2012-01-06 15:38:29 +01:00
Thierry Crozat
654ff1ecb9 I18N: Regenerate translations data file 2012-01-03 21:20:53 +00:00
Strangerke
e2ded73d92 MISC: This is year 2012 2012-01-01 11:49:41 +01:00
Tarek Soliman
366a942a3a KEYMAPPER: Simplify calling getKeymap 2011-12-30 13:03:39 -06:00
Johannes Schickel
4a30fa8845 GUI: Update translation files. 2011-12-26 15:26:56 +01:00
Johannes Schickel
95cabb0ffd SCUMM: Add a difficulty selection dialog for Loom FM-Towns.
It is in spirit of the DOS version's selection dialog, but it has the
description above the buttons instead of below it.
2011-12-26 15:25:41 +01:00
Tarek Soliman
be0f8407b6 GUI: Handle adding clear buttons that don't exist in layouts
The buttons in the keymapper are dynamically generated and don't exist in
the layout; They have no name.
2011-12-13 08:37:18 -06:00
Tarek Soliman
c6e001a1f5 GUI: Move addClearButton() from options.cpp to widget.cpp
This is so it can be used outside options.cpp
2011-12-13 08:36:41 -06:00
Strangerke
82acd32853 CREDITS: Mark Cyx as retired 2011-12-12 22:04:09 +01:00
Alyssa Milburn
b017c9317b GUI: Fix and regenerate theme files for y==400 case. 2011-12-07 16:09:11 +01:00
Eugene Sandulenko
330916b356 GUI: Regenerated theme files for new arrow look 2011-12-07 14:04:31 +00:00
MaximRussia
ad4471f70c GUI: Improved pop up and scrollbar arrows look
Previous triangle drawing was all wrong, rewrote it from the scratch.
Added padding to drawsteps in stx files
2011-12-07 14:04:10 +00:00
Johannes Schickel
2362a3f689 GUI: Add new line to error string in debugger. 2011-12-05 23:00:34 +01:00
Johannes Schickel
bc0d9bd3a7 GUI: Simplify boolean parsing in our debugger. 2011-12-05 23:00:34 +01:00
Filippos Karapetis
f0fc910d28 COMMON: Fix styling 2011-12-05 21:24:36 +02:00
Filippos Karapetis
411892d848 COMMON: Handle boolean types in the debugger 2011-12-05 20:32:08 +02:00
Thierry Crozat
6fd2c58ee3 I18N: Update Swedish translation from patch #3443449 2011-11-27 21:20:55 +00:00
Thierry Crozat
f5e945c7d1 I18N: Update Hungarian translation from patch #3440606 2011-11-22 23:20:55 +00:00
Thierry Crozat
bc4397bf3e I18N: Update Czech translation from patch #3440467 2011-11-20 22:39:18 +00:00
Johannes Schickel
d206f591c9 GUI: Update translations by using "make update-translations". 2011-11-20 05:22:04 +01:00
Paul Gilbert
b0611f3189 M4: Removed the M4/MADS engine from trunk 2011-11-20 12:14:10 +11:00
Johannes Schickel
e8ee551e99 GUI: Disable speech volume slider in subtitle only mode. 2011-11-18 00:33:30 +01:00
Eugene Sandulenko
5420ad7619 Merge pull request #114 from tsoliman/keymapper2
KEYMAPPER: Keymapper improvements 2
2011-11-17 14:22:48 -08:00
Torbjörn Andersson
877d22652f CREDITS: Mark whoozle as retired
He announced on scummvm-devel that he's leaving.
2011-11-17 20:28:38 +01:00
Alyssa Milburn
8f60377097 CREDITS: Add myself for Composer. 2011-11-17 17:00:58 +01:00
Tarek Soliman
6523454db5 KEYMAPPER: Put the gui keymap pushing/popping back in GuiManager::runLoop
This because theoretically the GUI could be run without a dialog.
This also fixes the situations where the GUI keymap gets popped more times than pushed.

Thanks sev
2011-10-31 22:59:55 -05:00
Tarek Soliman
56b5c0ea9f KEYMAPPER: Make sure GuiManager only pops gui keymaps 2011-10-27 10:46:23 -05:00
Tarek Soliman
a5082ffa5d KEYMAPPER: Skip GUI keymap when displaying active keymap in keymapper dialog
This fixes a problem where opening the keymapper dialog would cause the current game
keymap to be displayed as the active keymap but then changing the keymap selection
back to it would cause the GUI keymap to be displayed as the active one. The GUI keymap
was indeed at the top of the stack but that's not the desired effect.

Also move the pushing and popping of the keymap to Dialog::Open/Close
Also constantify the GUI keymap name
2011-10-27 10:46:22 -05:00
Johannes Schickel
7022cdc82b GUI: Slight formatting fix. 2011-10-27 01:02:25 +02:00
Johannes Schickel
19be349a71 GUI: Fix search clear button when switching themes or resolution.
This only fixes the clear button of the launcher's search. For the other clear
buttons this is would be a bit more work since they are embedded in tabs.
2011-10-25 16:20:40 +02:00
Eugene Sandulenko
b2a2f76dd9 LAUNCHER: Fix MIDI override setting 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
724e6cb638 GUI: Show empty savepath as 'Default', not 'None' 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
fe4495cac0 LAUNCHER: Turned erase icon white 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
5a68e40054 GUI: Refactor clear buttons 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
2b6c2da831 GUI: Added clear button to paths 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
202cce30b3 LAUNCHER: Improved clear soundfont button 2011-10-25 14:56:05 +01:00
Eugene Sandulenko
d99e855606 LAUNCHER: benefit from PicButton being derivative of Button 2011-10-25 14:56:04 +01:00
Eugene Sandulenko
b0fe2bbaf9 GUI: Made PicButtonWidget derivative of ButtonWidget 2011-10-25 14:56:04 +01:00
Eugene Sandulenko
25766500c0 LAUNCHER: Do not show clear image in classic theme 2011-10-25 14:56:03 +01:00
Thierry Crozat
e2e01dcd35 I18N: Regenerate translations data file 2011-10-24 20:59:09 +01:00
Johannes Schickel
c087f917dd GUI: Fix missing audio drivers in Edit Game dialog.
This is a regression from 77c65648b1.

Formerly the code used strtok to check for any audio related GUIO flag to be
present in _guioptions. Since strtok tokenizes the string this won't really
work. I changed it to use strpbrk, which searches a string for any character
from a set of characters (in our case flags). The code should now have the
same semantics as of before the above mentioned commit.

This also gets rid of copying the gui options into a char array and a strncpy
call.
2011-10-24 20:43:10 +02:00
Strangerke
9912d7b856 GUI: Add GUIO EGA Dithering option
This will be used to disable the EGA dithering option
2011-10-24 16:51:18 +02:00
Strangerke
9256652fcf GUI: in order to play it safe, re-enable the aspect checkbox if the gui options don't contain GUIO_NOASPECT.
Thanks lordHoto for pointing it
2011-10-24 13:36:52 +02:00
Eugene Sandulenko
5b3b73c523 GUI: Added icon to clear button. Reverted PNG support 2011-10-24 05:18:49 +01:00
Eugene Sandulenko
59474ca128 GUI: Replaced search icon with a better looking one.
Icons are by Yusuke Kamiyamane. http://p.yusukekamiyamane.com/
2011-10-23 23:44:14 +01:00
Eugene Sandulenko
4c08fccf58 GUI: Add support for PNG images in themes 2011-10-23 23:44:14 +01:00
Eugene Sandulenko
f1165b0b6e LAUNCHER: Do not show MIDI and MT32 tabs if game does not have MIDI 2011-10-23 23:44:14 +01:00
Strangerke
cfa42fee80 LAUNCHER: Add GUIO_NOASPECT to SCUMM engine 2011-10-23 21:45:02 +02:00
Johannes Schickel
3a196478c6 ALL: Reduce assignment of "" to Common::String.
When clearing an existant object clear() should be used.

When constructing objects (or using default values for parameters) the
constructor of String without any argument should be used.

This changes only a few instances I noticed while looking over some recent
commit logs.
2011-10-23 20:04:03 +02:00
Eugene Sandulenko
77c65648b1 AD: Swtich GUI options to a char array.
This eliminates nasty limitation of caping number of flags to 31.
Current code has limitation of 255 flags, though.

Only SCUMM engine is converted, rest do not even compile.
Detection of fan talkie MI is broken as it has to be implemented
differently.
2011-10-23 17:53:13 +01:00
Thierry Crozat
2efcee5288 I18N: Regenerate translations data file 2011-10-23 15:25:49 +01:00
Eugene Sandulenko
2dea24a835 I18N: Regenerate translations.dat 2011-10-19 13:48:02 +01:00
Eugene Sandulenko
ed2cb9a6b3 GUI: Added debug ouput for determining loaded theme 2011-10-19 13:48:01 +01:00
Chris Warren-Smith
ed07b99b22 BADA: Misc changes merged from appstore release 2011-10-18 23:22:25 +10:00
Thierry Crozat
90598bd4e2 I18N: Regenerate translations data file 2011-10-17 00:07:03 +01:00
Thierry Crozat
9ca17c4e95 I18N: Regenerate translations data file 2011-10-16 14:11:08 +01:00
Thierry Crozat
f525ff7d01 I18N: Update Hungarian translation from patch #3419482 2011-10-08 22:42:07 +01:00
Tarek Soliman
790b10bc2b CREDITS: Sort some sections by last name 2011-10-08 12:38:04 -05:00
Thierry Crozat
153e66318e I18N: Update Czech translation from patch #3419076 2011-10-05 19:56:37 +01:00
Jordi Vilalta Prat
22db5dda42 I18N: Update the catalan and spanish translations. 2011-10-05 11:36:56 +02:00
Jordi Vilalta Prat
9b03f26045 I18N: Update the translation template. 2011-10-05 11:36:56 +02:00
Tarek Soliman
26d4e4bdb6 CREDITS: properly retire fanoush and add myself 2011-09-28 15:13:59 -05:00
Filippos Karapetis
d01d228ee8 AGI/COMMON: Fixed bug #3407308 - "AGI: SQ2: Saving allowed in autosave slot 0 from scummvmmenu"
The save/load dialog code was not polling for meta info for empty slots
2011-09-25 15:03:02 +03:00
Strangerke
3542dc2c44 CGE: Add credits 2011-09-22 18:55:06 +02:00
Willem Jan Palenstijn
052177d136 COMMON: Remove some double-underscore defines (reserved) 2011-11-14 14:59:58 +01:00
Eugene Sandulenko
f56dc4151d Merge pull request #112 from tsoliman/fix-undithering-guioption1
GUI: Enable EGA Undithering in global options dialog
2011-10-30 18:29:50 -07:00
Johannes Schickel
7f2b2e99f8 GUI: Change scrollbar repeat handling from a timer proc to handleTickle.
This should be less heavy on timer usage and makes sure no race conditions
will occur.
2011-10-28 12:08:15 +02:00
Tarek Soliman
f30df9aa70 GUI: Enable EGA Undithering in global options dialog
GUIO_EGAUNDITHER is a positive flag unlike the rest of the GUIO
negative flags like GUIO_NOASPECT and GUIO_NOSPEECH.
This means the gui option is only enabled if the flag exists.

This caused the gui option to be disabled in the global options dialog due
to the flag not existing in the global confman domain.
It is an inconvenience and a regression IMHO to have to set this flag on
a game by game basis with no option to set it globally and have the games
override it.

Thanks Strangerke for making me clarify.

Thanks LordHoto for feedback on code style.
2011-10-27 09:48:21 -05:00
Torbjörn Andersson
642e0baacb GUI: Silence GCC warning
Rename local variable 'buffer' to keep it from clashing with the
buffer() method.
2011-09-19 20:10:46 +02:00
Littleboy
9796890cce GUI: Replace ConsoleDialog use of vsnprintf by Common::String::vformat() 2011-09-19 09:23:00 -04:00
Thierry Crozat
aad960f095 I18N: Regenerate translation.dat file 2011-08-23 21:42:42 +01:00
Thierry Crozat
8935c7cd64 I18N: Regenerate translations.dat file 2011-08-22 22:40:46 +01:00
Chris Warren-Smith
6d47a6d935 BADA: Updated credit.pl to include BADA port information 2011-08-21 16:37:41 +10:00
Eugene Sandulenko
8022c87060 I18N: Regenerated .pot, .po and translations.dat 2011-08-20 15:13:23 +01:00
Eugene Sandulenko
51fbc7200c CREDITS: Reflect new team structure 2011-08-20 13:12:18 +01:00
Eugene Sandulenko
4a7616c366 I18N: Regenerate translations.dat 2011-08-20 12:52:27 +01:00
Jordi Vilalta Prat
f92b21b377 I18N: Update the catalan and spanish translations. 2011-08-18 11:59:53 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Eugene Sandulenko
1e45c32558 I18N: Regenerate translations.dat 2011-08-06 11:31:10 +01:00
Eugene Sandulenko
ae02860784 GUI: Removed redundant button label 2011-08-06 11:31:01 +01:00
Eugene Sandulenko
9e0c1a38e1 GUI: Consistent behavior of ButtonWidget::setLabel() 2011-08-06 11:30:58 +01:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
Matthew Hoops
03d9b63bcc CREDITS: Mark waltervn as retired
As requested by him
2011-07-03 17:17:39 -04:00
Johannes Schickel
7e4224e52a COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined. 2011-07-03 00:16:07 +02:00
Johannes Schickel
09501be85b ENGINES: Clean up SaveStateDescriptor.
Now SaveStateDescriptor no longer subclasses HashMap. Instead all possible
saved meta data is included directly into SaveStateDescriptor.

This is slightly less flexible, but we never needed that flexibility so far.
On the other hand it should reduce the memory usage. At least on my system
(Linux/amd64) the old SaveStateDescriptor had a size of 928 and the new
SaveStateDescriptor has a size of 200.
2011-07-02 21:07:55 +02:00
Johannes Schickel
fa5f8dc703 GRAPHICS: Rename NewFont to BdfFont. 2011-07-01 21:53:01 +02:00
Johannes Schickel
8201df7bb6 GRAPHICS: Move NewFont code to a separate file. 2011-07-01 21:10:25 +02:00
Ori Avtalion
aa0f307e06 ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
Silences the clang warning:

  static data member specialization of '_singleton' must
  originally be declared in namespace 'Common'; accepted as a C++0x
  extension [-Wc++0x-extensions]

Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.

Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
unknown
dde4cb1ff8 CREDITS: Update my status to active again. 2011-06-30 00:29:22 +10:00
Thierry Crozat
2e81e05a12 I18N: Regenerate translations data file 2011-06-28 19:54:30 +01:00
Eugene Sandulenko
bfdf12ad2f I18N: Update Russian translation 2011-06-26 01:53:43 +03:00
Eugene Sandulenko
c4a5fa8506 CREDITS: Add real name of serga per his request 2011-06-23 11:40:19 +03:00
Thierry Crozat
59d3b938d4 I18N: Regenerate translations data file 2011-06-22 22:48:09 +01:00
Eugene Sandulenko
33ce6e60fd Merge pull request #26 from Littleboy/taskbar
Taskbar integration
2011-06-22 13:35:37 -07:00
Max Horn
c2d31c4ca5 CREDITS: Mark myself as retired 2011-06-22 11:52:58 +02:00
Thierry Crozat
53dfd3a3f5 I18N: Regenerate translations data file 2011-06-20 23:16:58 +01:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Thierry Crozat
3853e76202 I18N: Regenerate translations data file 2011-06-19 23:28:22 +01:00
athrxx
825c889e33 GUI: fix uninitialized var
(caused rendering glitches when compiling with MSVC)
2011-06-17 20:33:40 +02:00
Max Horn
da3fff8ab3 COMMON: Make use of Common::parseBool 2011-06-17 10:38:16 +02:00
Littleboy
9614834548 BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled 2011-06-16 14:23:28 -04:00
Littleboy
e1dc9cdc0b BACKENDS: Add support for count status to TaskbarManager
- Show the number of found games when using the massadd dialog
2011-06-16 14:23:12 -04:00
Littleboy
2be35013f1 BACKENDS: Add progress to MassAdd dialog 2011-06-16 10:36:33 -04:00
Vladimir Menshakov
3a1b1a081a DREAMWEB: Added engine to the credits 2011-06-16 16:05:05 +04:00
Thierry Crozat
e826aaab39 I18N: Update Czech translation from patch #3316238 2011-06-14 21:10:35 +01:00
Thierry Crozat
6d952b3e58 I18N: Regenerate translations data file 2011-06-12 13:49:00 +01:00
Thierry Crozat
4e5907a5e4 I18N: Update translations from template 2011-06-06 23:20:13 +01:00
Thierry Crozat
226990bb58 I18N: Update translations from template 2011-06-06 23:20:11 +01:00
Thierry Crozat
6b13782967 GRAPHICS: Move genLocalizedFontFilename() to FontManager class
It was defined in ThemeEngine class , but I moved it to make it
possible to use localized font in other places.
2011-06-06 23:20:09 +01:00
Alyssa Milburn
a809ac9b7e I18N: Make some more GUI strings translatable. 2011-06-06 12:00:06 +02:00
Alyssa Milburn
6835433a42 GUI: Fix message after changing languages. 2011-06-06 11:43:49 +02:00
Max Horn
a6e5b97e9f COMMON: Remove vfprintf call from XML parser 2011-06-06 11:19:09 +02:00
Max Horn
91b889e2d3 COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette 2011-06-04 11:55:56 +02:00
Max Horn
b25fa194b3 GUI: Fix some comments 2011-06-03 16:16:38 +02:00
Max Horn
8b3c36cfad GUI: Add 'openlog' command to debugger 2011-06-03 13:36:04 +02:00
Max Horn
333be9c072 GUI: Replace some s(n)printf uses by Common::String::format 2011-06-02 00:07:18 +02:00
Max Horn
a4610df482 Merge branch 'branch-1-3-0' into master
I manually resolved all conflicts, and inspected every single change.
Many were due to the version string mismatch and thus easily resolved.
The MSVC project files add in the 1-3-0 branch were not merged,
neither where the changes to gui/themes/translations.dat.

Conflicts:
	NEWS
	backends/base-backend.cpp
	backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp
	backends/module.mk
	backends/platform/ds/arm9/makefile
	backends/platform/psp/README.PSP
	backends/platform/samsungtv/main.cpp
	backends/platform/samsungtv/samsungtv.cpp
	backends/saves/posix/posix-saves.cpp
	base/commandLine.cpp
	base/internal_version.h
	base/main.cpp
	common/array.h
	configure
	devtools/create_project/create_project.cpp
	dists/android/AndroidManifest.xml
	dists/android/plugin-manifest.xml
	dists/iphone/Info.plist
	dists/irix/scummvm.spec
	dists/macosx/Info.plist
	dists/redhat/scummvm-tools.spec
	dists/redhat/scummvm.spec
	dists/scummvm.rc
	dists/slackware/scummvm.SlackBuild
	dists/wii/meta.xml
	engines/sci/parser/vocabulary.cpp
	engines/tinsel/handle.cpp
	gui/themes/translations.dat
2011-06-01 15:15:31 +02:00
Matthew Hoops
9539017ee3 ALL: initialise -> initialize 2011-05-25 11:17:11 -04:00
Matthew Hoops
eea482fa43 ALL: behaviour -> behavior 2011-05-25 10:50:46 -04:00
Max Horn
4b7f6dfa3c BUILD: Rename USE_TEXT_CONSOLE -> USE_TEXT_CONSOLE_FOR_DEBUGGER
This reduces the similarity in name to the otherwise mostly
unrelated DISABLE_TEXT_CONSOLE #define.
2011-05-25 13:24:37 +02:00
CeRiAl
dcfa8fd048 CREDITS: Temporarily retire Jubanka, add CeRiAl 2011-05-25 00:05:16 +02:00
CeRiAl
0a03a620e1 CREDITS: Temporarily retire Jubanka, add CeRiAl 2011-05-25 05:57:19 +08:00
Eugene Sandulenko
2b11228734 I18N: Update translations.dat 2011-05-24 22:32:03 +01:00
Eugene Sandulenko
b1587a9082 I18N: rebuild translations.dat 2011-05-24 22:28:46 +01:00
Thierry Crozat
d2a55b42c9 ENGINES: Further unify engine names 2011-05-22 12:47:35 +01:00
agent-q
4076a0466d GUI/DS: Make 99 the maximum number of save slots displayed on the GMM load/save screens on the DS port. 2011-05-21 15:56:42 +01:00
agent-q
f1903004c0 GUI: Prevent the GUI code from incorrectly reloading the theme when the builtin theme is used. 2011-05-21 15:55:36 +01:00
agent-q
92a71f7452 DS: Port of changes from branch-1-2-0 that I should really have moved into the trunk.
"DS: Prevent the command line help string from being included in the binary."
5f3a90a5f6911188b8d1ded08dbdf6d233e9eb7b

"GUI: Allow disabling of Mass Add dialog.  Saves a few Kb of binary size on the DS, and is not particularly useful on that platform."
240ff87cf4472538d25a1c5628c8d15f1791ab1c

"GUI: Don't search for theme zip files on startup when running on the DS.  Themes aren't supported anyway, and the search severely delays startup."
fe3b18ce0df03117081e83d99f4a2cbd864d3286
2011-05-21 15:45:51 +01:00
Johannes Schickel
8a46c017cf GUI: Fix for bug #3303501 "Switching from HQ2x->HQ3x crashes ScummVM". 2011-05-17 23:16:40 +02:00
strangerke
766b31e94d CREDITS: retire Kirben (missing file) 2011-05-17 22:25:06 +02:00
Max Horn
52d81727a3 GUI: Trying to clarify my comment on ctrl-a/ctrl-e *sigh* 2011-05-17 16:27:10 +02:00
Max Horn
29851abaea GUI: Text editing tweaks
- Streamline keypad handling
- Allow up/down to act like home/end
- On Mac OS X, allow ctrl-a and ctrl-e to act like home/end
2011-05-17 12:23:55 +02:00
Max Horn
a3fe84cfe6 GUI: For a list entry in edit mode, move caret to end 2011-05-17 12:23:55 +02:00
Thierry Crozat
3062681eb5 KYRA: Change engine name to Kyra 2011-05-16 23:58:46 +01:00
Thierry Crozat
0b8d2c4d60 GUI: Apply graphics mode change when closing global options dialog 2011-05-16 00:11:32 +01:00
Thierry Crozat
3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Thierry Crozat
480aaa6504 I18N: Update translations data file 2011-05-08 23:56:12 +01:00
Thierry Crozat
371e617797 I18N: Update translations data file 2011-05-08 23:30:46 +01:00
Johannes Schickel
473337effd GUI: Allow .zip files with case differing from ".zip" as theme files too.
Formerly our code used "hasSuffix" to check for a ".zip" suffix. Since
hasSuffix does a case-sensitive match that would not work, in case the file
was called "scummmodern.ZIP" instead of "scummmodern.zip" for example.

To fix that I am using a case-insensitive matchString instead now.
2011-05-07 15:49:57 +02:00
Johannes Schickel
16f1b51e2a GUI: Clean up localized font filename generation. 2011-05-05 20:07:37 +02:00
Thierry Crozat
1aff380a15 I18N: Update translations data file 2011-05-02 20:19:13 +01:00
Thierry Crozat
cd9aabfb2d I18N: Update translations data file 2011-05-02 20:13:51 +01:00
Max Horn
d521d6a1c2 GUI: Inform use about ignored games when mass adding 2011-05-02 13:40:25 +02:00
Thierry Crozat
39d9566133 I18N: Update translations data file. 2011-05-01 23:57:43 +01:00
Thierry Crozat
9360ec7354 I18N: Update translations data file. 2011-05-01 23:50:39 +01:00
Johannes Schickel
71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Ori Avtalion
cd6ee0589d JANITORIAL: Format forward declarations to follow convention 2011-04-28 12:20:34 +03:00
Thierry Crozat
836ca2b4e2 I18N: Update translations data file. 2011-04-27 20:43:38 +01:00
Max Horn
759cac0abc GUI: Fix warning on systems where char is unsigned 2011-04-26 14:24:47 +02:00
Thierry Crozat
ff0f391a9c I18N: Update translations data file. 2011-04-25 23:03:00 +01:00