Commit Graph

70 Commits

Author SHA1 Message Date
Vicent Marti
01b8373d95 Fixed: About dialog in all resolutions.
svn-id: r33707
2008-08-08 21:52:16 +00:00
Vicent Marti
7f0aa32d51 Improved text handling.
Fixed About dialog scroll-out text.

svn-id: r33257
2008-07-23 22:32:00 +00:00
Jordi Vilalta Prat
2862a30dac Fixed some code formatting thanks to LordHoto
svn-id: r32275
2008-05-26 00:28:48 +00:00
Jordi Vilalta Prat
fe58f0ee4b - Added operator-> to Plugin subclasses so they don't have to reimplement the PluginObject subclass interfaces (thanks to Fingolfin for suggesting it)
- Added the PluginSubclass template to help creating Plugin subclasses

svn-id: r32082
2008-05-13 09:30:23 +00:00
Jordi Vilalta Prat
2c9968fe80 - Added an engine plugin manager and moved engine specific functionality into it
- base/plugins.* reorganization

svn-id: r32045
2008-05-12 00:26:29 +00:00
Johannes Schickel
0ec41a2d80 - made Widget::_flags private
- reworked state (enabled/disabled/highlighted) handling of widgets
- cleanup in ModernTheme.cpp

svn-id: r29403
2007-11-04 03:38:30 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
2243197f50 Changed GUI system to use Common::KeyState state
svn-id: r27786
2007-06-30 12:26:59 +00:00
Max Horn
d6b073961e Updated the about dialog (2006->2007, and added a header similar to our new source code legal header; also moved the GPL header after the engines list (it seems wrong to list it at the *very end* of the about dialog scroller, after all it is our license)
svn-id: r27391
2007-06-13 20:37:24 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
cfe7ecd6d9 Don't track the modifier state, use the eventmanager instead (this also fixes bug #1657322, GUI: 'Mass Add' button text does not revert after mass add)
svn-id: r26174
2007-03-17 16:05:16 +00:00
Max Horn
b765e998f7 use _ prefix for member vars, as per our code formatting conventions
svn-id: r26173
2007-03-17 15:52:35 +00:00
Johannes Schickel
810056dcf6 Fix for bug #1650993 ("GUI: About dialog scroller").
svn-id: r25434
2007-02-09 00:02:49 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
1a10cacfb9 Renamed handleScreenChanged() -> reflowLayout() in the GUI code
svn-id: r23662
2006-08-04 13:55:53 +00:00
Max Horn
4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Max Horn
c0805830eb Fix various typenames to comply to the ScummVM coding guidelines
svn-id: r22928
2006-06-05 12:22:51 +00:00
Willem Jan Palenstijn
dfce3faabd add fixme about scrolling in about dialog
svn-id: r22685
2006-05-27 14:41:15 +00:00
Johannes Schickel
30787714d3 Started to prepare the gui for runtime resolution switches.
(some little things could be missing yet though)

svn-id: r22017
2006-04-19 01:05:28 +00:00
Max Horn
08ad918af6 Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) to a minimum
svn-id: r21426
2006-03-24 14:15:45 +00:00
Eugene Sandulenko
8a5f44d797 Converted last dialogs to new scheme. Now it seems to be everything. Please,
test throghoutly.

svn-id: r21157
2006-03-09 05:18:00 +00:00
Max Horn
b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +00:00
Johannes Schickel
e5e7587443 Ok this should fix now all problems with drawing bugs of texts.
svn-id: r20298
2006-01-29 16:12:59 +00:00
Johannes Schickel
5051b080a2 - adds the new gui renderer also a new implementation for the classic gui
- adds a ImageMan and ImageDec class for loading and managing image files
 - adds a loader for zip files which is used by the new theme and the image manager
 - changes the widgets to use the new gui code
 - changes the scumm dialogs to use the new gui code
 - fixes a #include problem in the sky debugger with the new gui code

 To use the new gui copy gui/themes/default-theme.zip to your extrapath.
If the theme zip can not be found the gui will fallback to the classic theme.
If you want to change the gui styles use "gui_theme=classic" for the classic theme
and "gui_theme=default-theme" for the new theme.

Thanks to eriktorbjorn for testing and help with the new theme and to sev for
reviewing this patch.

svn-id: r20227
2006-01-27 15:43:23 +00:00
Oystein Eftevaag
4707a59eaf Changing Kyra copyright notice from EA to Westwood, after IRC discussion
svn-id: r20198
2006-01-26 23:53:13 +00:00
Oystein Eftevaag
b5dcb4e874 Adding Kyrandia to the About dialog copyright section.
svn-id: r20197
2006-01-26 23:18:36 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Max Horn
0eca2a971f New credits format (DocBook conversion not yet done)
svn-id: r19809
2005-12-19 02:23:01 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
c33e15e915 Mention ITE and Gob in about dialog. Or should I state publisher (C)
on Goblins which is Sierra Inc.?

svn-id: r18832
2005-09-16 22:18:46 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Torbjörn Andersson
3772bb9873 Cleanup.
svn-id: r18321
2005-06-03 12:07:53 +00:00
Max Horn
e05da91674 Added automatic word wrapping to the about scroller
svn-id: r18145
2005-05-17 23:41:35 +00:00
Max Horn
42db49b15a Center about dialog, and make it just wide enough to display the credits, but not wider
svn-id: r18139
2005-05-17 21:40:29 +00:00
Max Horn
2d40452a11 Unified rules that determine when a dialog shall use its 'big' mode and when its 'normal' mode; MessageDialog uses Font::wordWrapText now; MessageDialog scales itself now
svn-id: r18111
2005-05-15 17:01:32 +00:00
Max Horn
1043554591 Word wrap the 'features' string
svn-id: r18110
2005-05-15 16:19:43 +00:00
Max Horn
cccbb52e1e Do not autoscale about dialog, rather let it scale itself properly
svn-id: r18061
2005-05-11 19:31:23 +00:00
Torbjörn Andersson
8ef991fe4a Clarified the second comment, and removed the overlap between the two.
svn-id: r17636
2005-04-16 16:56:16 +00:00
Torbjörn Andersson
7b9a3b1fa7 Clarified/corrected my own comment, otherwise I'll probably forget exactly
why this was necessary.

svn-id: r17634
2005-04-16 16:29:11 +00:00
Max Horn
8b73e6a7da _screenHasChanged == true implies _canvas.pixels == null; so replace it (after all, we don't want to draw text when the canvas is not yet ready, no matter whether this is due to a screen change or for any other reason)
svn-id: r17624
2005-04-16 13:09:34 +00:00
Torbjörn Andersson
ff7c1086af When recreating the canvas, do a full redraw so that all the dialogs
behind the credits show. Until we have a new canvas, don't draw any credits
text, or it too will show up on the canvas.

The latter, at the very least, was a bug in my original patch.

svn-id: r17621
2005-04-16 12:41:43 +00:00
Max Horn
7aebedcc14 Patch #1183808 (GUI: Less CPU-intensive credits scroll), with some tweaks by me
svn-id: r17620
2005-04-16 11:40:15 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
858c6c4d5b Switching GUI to an alternate font; using a second, bigger, font for 640x480 games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to
svn-id: r16467
2005-01-06 22:48:42 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
6fb82b2494 Final part of the fix for bug #1091802 (GUI: Credits scroll glitch)
svn-id: r16388
2004-12-30 14:55:20 +00:00
Max Horn
f0d0ce7979 Reduce time till scrolling starts inthe about dialog; pressing shift/alt now causes faster/reverse scrolling (this is an insider trick and not documented on purpose :-)
svn-id: r16383
2004-12-30 14:21:16 +00:00