Commit Graph

654 Commits

Author SHA1 Message Date
Johannes Schickel
4fb6c18f0e Oops, fixes problems with disabled widgets (they need full drawn shadows).
svn-id: r21083
2006-03-04 21:25:11 +00:00
Johannes Schickel
91fbb6b7ae Improved shadow drawing (it's faster now since it doesn't draw the whole rect like before)
'cleaned up' the drawSurfaceMasked function a bit.

svn-id: r21082
2006-03-04 20:45:59 +00:00
Johannes Schickel
6010d48a8e Removed colorToRGB and RGBToColor calls when calculating alpha
and disabled the complete new theme if 'DISABLE_FANCY_THEMES' is defined.

svn-id: r21078
2006-03-04 18:34:28 +00:00
Eugene Sandulenko
c89aa846f0 Add newline to the end of the file
svn-id: r20876
2006-02-25 14:15:19 +00:00
Eugene Sandulenko
388a553f00 Put theme .ini out of .zip for better changes tracking.
svn-id: r20875
2006-02-25 14:00:22 +00:00
Torbjörn Andersson
4aaf6fec8d Turn off background caching for the graphics widget, so that the SCUMM
save/load dialog really cleans the thumbnail area when there is no thumbnail.

svn-id: r20843
2006-02-24 21:51:41 +00:00
Torbjörn Andersson
2cb8832991 Fixed redraw glitch. Our editable widgets were asking the theme to draw a very
wide caret. Changed that width to 1.

svn-id: r20842
2006-02-24 20:25:34 +00:00
Torbjörn Andersson
66b5b7b3f3 Cleanup.
svn-id: r20841
2006-02-24 19:38:16 +00:00
Torbjörn Andersson
0c91e91b44 Cleanup
svn-id: r20840
2006-02-24 19:33:23 +00:00
Torbjörn Andersson
6cf5d85e8e Fix redraw glitches when typing very long - enough to be truncated - strings.
It seems the only purpose of 'deltax' in this function was to introduce such
redrawing glitches. Weird...

svn-id: r20839
2006-02-24 19:19:55 +00:00
Eugene Sandulenko
71c170bb13 Initial version of Cinematique engine evo 1.
svn-id: r20813
2006-02-22 22:40:53 +00:00
Max Horn
e49e7ebb3f Fixing up my previous commit: finished moving common/scaler* to graphics
svn-id: r20798
2006-02-20 20:40:12 +00:00
Max Horn
db5bd6e17e EditGameDialog only needs the game description, not the full GameSettings -> changing constructor accordingly
svn-id: r20750
2006-02-18 11:12:08 +00:00
Lars Persson
d91b49c15c Added define to disable new theme support.
svn-id: r20676
2006-02-13 21:02: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
Lars Persson
692adbe614 Changed file paths from /epoc/ to /symbian/
svn-id: r20618
2006-02-12 14:42:43 +00:00
Paweł Kołodziejski
c2575afaa7 changed path in include to use 'common' to conform rest part of code
svn-id: r20614
2006-02-12 14:05:47 +00:00
Max Horn
80cf2fa46f Reduced data duplication in module.mk files; added module.mk files for null and x11 backends; added engines/module.mk
svn-id: r20584
2006-02-12 00:16:31 +00:00
Max Horn
b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +00:00
Max Horn
0ad58cdb95 Removed .cvsignore files
svn-id: r20424
2006-02-07 22:50:14 +00:00
Eugene Sandulenko
aae00f629c Change behaviour of checkboxes to more logical.
svn-id: r20416
2006-02-05 18:46:51 +00:00
Nicolas Bacca
419caac2b9 Fix QVGA Smartphone detection
svn-id: r20397
2006-02-05 14:00:35 +00:00
Paweł Kołodziejski
2ebdbbf5e0 fixes allow compile with emsvc4 again
svn-id: r20355
2006-02-03 07:30:29 +00:00
Chris Apers
25a6adc238 Should be 'description'
svn-id: r20350
2006-02-02 20:33:43 +00:00
Torbjörn Andersson
d6e141cc35 Fix glitch when moving the mouse over a disabled, checked checkbox. (The
check mark would become brighter, and I think it was because a transparent
mark was drawn over a transparent mark, thus "amplifying" it.)

svn-id: r20344
2006-02-01 22:39:54 +00:00
Eugene Sandulenko
12133dfb4f Much improved how shadows look. However it is done with a really dirty
hack as tehre is lots of overdraw, abuse of shadow width and code
duplication. Anyway shadow drawing code will go to separate functioMuch improved how shadows look. However it is done with a really dirty
hack as tehre is lots of overdraw, abuse of shadow width and code
duplication. Anyway shadow drawing code will go to separate function.

svn-id: r20343
2006-02-01 16:42:42 +00:00
Max Horn
004b8b964a Patch #1420942 (console page down fix)
svn-id: r20342
2006-02-01 16:40:17 +00:00
Johannes Schickel
129e7846b5 Implemented shadow drawing, also extended the theme config again
(new color entries for highlighted buttons and for other widgets).
Also added a 'highlight' check to the CheckBox widget.
Changed the PopUpDialog to use a shadow around itself.

svn-id: r20341
2006-02-01 15:11:39 +00:00
Johannes Schickel
da9b8d71ae Fixes color bugs with the new theme when switching to fullscreen on Mac OS X.
svn-id: r20338
2006-01-31 21:31:31 +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
Johannes Schickel
1976ac6250 Adds more configureable options to the config file of the new theme,
also update the default theme zip file for that.
Also it changes the way the tab buttons get drawn, now they have
only rounded corners at the top.

svn-id: r20336
2006-01-31 19:35:33 +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
Torbjörn Andersson
484fca6549 Tabs look better with dialog surfaces than with widget surfaces. There's
still room for improvements, though...

svn-id: r20330
2006-01-31 09:45:36 +00:00
Torbjörn Andersson
74dd2e133d I didn't realize that disabled widgets were transparent, rather than just
faded. In those cases, I guess the background should be restored before
drawing. But that can probably be done in the drawSurface / drawRect
functions instead, like this.

svn-id: r20329
2006-01-31 08:41:51 +00:00
Torbjörn Andersson
9246a7a532 I assume this call to restoreBackground() is unnecessary.
svn-id: r20328
2006-01-31 08:03:21 +00:00
Eugene Sandulenko
a199c1ef14 Fix spelling in new entry Formed -> Former :D
svn-id: r20319
2006-01-30 20:48:45 +00:00
Max Horn
d985e24bf9 Updated credits (Debian package maintainer: Tore -> Tao
svn-id: r20312
2006-01-30 19:08:26 +00:00
Chris Apers
afaf1d0ab9 Replace use of sscanf
svn-id: r20311
2006-01-30 19:02:33 +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
7eaa5b99b5 Fixes redraw bugs with the about dialog and the new theme.
svn-id: r20297
2006-01-29 15:07:03 +00:00
Torbjörn Andersson
f881fc47c7 Limit the maximum line width.
svn-id: r20296
2006-01-29 13:14:04 +00:00
Johannes Schickel
f509762f99 Fixes transparency and enabled transparency for disabled buttons.
svn-id: r20295
2006-01-29 12:41:58 +00:00
Johannes Schickel
f404f6ffaf Changed calcGradient again, should look nicer now.
svn-id: r20280
2006-01-28 23:56:12 +00:00
Johannes Schickel
8776ea6d18 Fixes a bug while loading the theme config from the zip file (now the caret should be black).
svn-id: r20277
2006-01-28 23:11:52 +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
Torbjörn Andersson
91d253c5b1 Applied my own patch #1416897, in an attempt to speed up list widget
redrawing. There may be regressions, but none are known at the moment.

svn-id: r20271
2006-01-28 18:21:46 +00:00
Travis Howell
cb5d7b8029 Always save gameid.
svn-id: r20260
2006-01-28 00:22:02 +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
Joost Peters
7e8d9fc739 Credit Paolo Costabel and Thomas Mayer who contributed to the (initial) PSP port.
svn-id: r20245
2006-01-27 21:59:48 +00:00
Eugene Sandulenko
095199da54 Proper RCS IDs.
svn-id: r20235
2006-01-27 19:04:15 +00:00