Commit Graph

21 Commits

Author SHA1 Message Date
Johannes Schickel
600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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
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
Johannes Schickel
7143d08e71 Little improvement for theme config validity check.
svn-id: r26671
2007-04-29 00:18:54 +00:00
Max Horn
56b00f05cc Replaced 'typedef Common::String String' with explicit usages of Common::String (mainly to make doxygen happy)
svn-id: r25360
2007-02-03 21:32:18 +00:00
Johannes Schickel
25486c789e - added auto detection of the Theme style to use
- fixed a bug which would lead to a crash when loading the modern theme config with the classic theme

svn-id: r24201
2006-10-08 12:00:19 +00:00
Johannes Schickel
5e5a221b0e - added config file support for the classic theme
- added a sample config file (called 'classic.ini', which is based on Theme::_defaultConfigINI)
- added check for the type of the theme config file ('modern' and 'classic' for the respective Theme classes)
- bumped theme config version for the modern theme

svn-id: r24199
2006-10-08 10:57:48 +00:00
Max Horn
206fdf0528 Fixed broken svn:keywords values
svn-id: r21939
2006-04-16 13:01:41 +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
e60c0441ad theme.cpp -> ThemeClassic.cpp for consistency and less confusion
svn-id: r21363
2006-03-18 12:43:50 +00:00
Eugene Sandulenko
c9970b78b5 Rearrange launcher.
Logo is still shown weirdly.

svn-id: r21268
2006-03-14 02:19:38 +00:00
Eugene Sandulenko
ebd5833335 WIP for arbitrary widget positions. See
http://wiki.scummvm.org/index.php/GUI_Themes
Code is not yet used.

svn-id: r21115
2006-03-07 03:31:31 +00:00
Johannes Schickel
e067a7f288 Implemented new tab drawing, should look nicer now. (The border under the active tab isn't drawn anymore)
svn-id: r20669
2006-02-13 18:00:04 +00:00
Max Horn
b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +00:00
Johannes Schickel
669f86705d Implements the usage of cached backgrounds in the old theme as well,
that should fix redrawing bugs with the about dialog.
Also I displayed cached background usage in the console for now, since
it produces redraw bugs with the old theme (maybe someone with knowledge how
redrawing of that dialog is handled should look at that).

svn-id: r20337
2006-01-31 20:19:47 +00:00
Torbjörn Andersson
69b2945071 Make the old theme's checkboxes look a bit more like they used to. (Not
quite, though, as they are a bit smaller than they used to be.)

svn-id: r20331
2006-01-31 14:38:42 +00:00
Johannes Schickel
5fda0cc6f1 - Fixes a bug that the debugger crashed while opening
- Changed gradient calculating
- added background saving for all dialog/widget backgrounds for now (change that later maybe)
- changed ScummDialog to use the colors of our launcher dialog

svn-id: r20276
2006-01-28 23:03:39 +00:00
Johannes Schickel
0a40639af2 This should fix bug # 1416862 (new theme: changing overlay size).
svn-id: r20253
2006-01-27 23:13:51 +00:00
Eugene Sandulenko
095199da54 Proper RCS IDs.
svn-id: r20235
2006-01-27 19:04:15 +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