Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
av-dx
4573f049f2
Revert "GUI: Add horizontal triangle drawing algorithm"
...
This reverts commit 6d2732e598500df36c793896a9a7bc3876fbb4e6.
2021-11-12 14:46:34 +01:00
av-dx
962d481e1b
GUI: Add horizontal triangle drawing algorithm
2021-11-12 14:46:34 +01:00
Le Philousophe
585b112d6b
GRAPHICS: Implement horizontal triangles
...
Simplify drawTriangle in the same time and fix a bad copy paste when
drawing outline with w == h
2021-07-27 20:38:45 +02:00
Orgad Shaneh
968e52ee98
GRAPHICS: Fix crash when resizing the window to low width
2021-06-27 09:05:17 +03:00
Eugene Sandulenko
c27ad28ab2
GRAPHICS: GUI: Take tab shadow size from theme
2021-04-13 08:09:16 +02:00
Eugene Sandulenko
d3f5d34b62
GRAPHICS: Unify VectorRenderer blitting routines
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
dbf192fd13
GRAPHICS: Simplify VectorRenderer blitting routines
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
2839715a45
GUI: Remove TransparentSurface remnants aka alphabitmaps from themes
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
bd083c7fa7
GUI: Switch GUI to ManagedSurface
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
09f11bd37e
GRAPHICS: Fix transparency in ManagedSurface bitmaps
2021-04-11 21:21:44 +02:00
Eugene Sandulenko
916859ab86
GRAPHICS: Added (hacky) blitManagedSurface
...
So far, it is hardcoded, but in reality we need to merge
ManagedSurface and TransparentSurface and add blit() methods
to TransparentSurface
2021-04-11 21:21:44 +02:00
Bartosz Gentkowski
a35cbeab46
DOXYGEN: Add doxy groups to remaining headers in 'graphics'
...
To make sure that they appear in the graphics group
in the doc structure.
2020-12-01 23:24:37 +00:00
Thierry Crozat
2d64cba73a
GRAPHICS: Remove unused function
...
This was a left over from GUI conversion to U32String.
2020-11-04 22:25:43 +00:00
aryanrawlani28
20e21ba79d
GUI: U32: Temporarily overload drawString
...
- To accept u32 string as a parameter
- To draw everything else normally until fully converted to drawing u32
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
b0fba6d0f3
GRAPHICS: Added override keywords
2020-01-31 14:51:42 +01:00
Bastien Bouclet
1d764bd787
GRAPHICS: Vector renderer clipping rect related cleanups
...
Selecting whether a clipping variant of a draw call needs to be used is
no longer the responsibility to the caller. The clipping rect is now
part of the state of the renderer.
Also fix some of the draw calls to better apply the clipping rect.
2019-10-07 21:47:42 +02:00
Adrian Frühwirth
a20f90cbb7
JANITORIAL: Fix formatting
2018-04-22 00:56:21 +02:00
Eugene Sandulenko
6524a8d103
GUI: Added transparency to PicWidgets
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
94bc75ae46
GUI: Implemented centering of dialog background
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
75f9b099dc
GUI: Added possibility to specify scale mode for AlphaBitmaps
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
ec7312ac13
GUI: Implemented more modes to autoscale
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
4474ccf814
GUI: Implemented alphabitmap autoscale
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
53a42ececf
GUI: Added new alphabitmap image type
2016-08-24 16:07:55 +06:00
Alexander Tkachev
6fd6043391
GUI: Fix blitAlphaBitmapClip()
2016-07-03 12:24:11 +02:00
Alexander Tkachev
916c86e689
GUI: Add blitAlphaBitmapClip()
2016-07-03 12:23:41 +02:00
Alexander Tkachev
e636894b06
GUI: Add fillSurfaceClip()
2016-07-03 12:23:12 +02:00
Alexander Tkachev
0dcd29e998
GUI: Fix drawRoundedSquareClip()
2016-07-03 12:22:26 +02:00
Alexander Tkachev
80412a4139
GUI: Add drawTabClip()
2016-07-03 12:22:10 +02:00
Alexander Tkachev
ee00156d54
GUI: Add drawBeveledSquareClip()
2016-07-03 12:21:55 +02:00
Alexander Tkachev
05383532b7
GUI: Add drawLineClip()
2016-07-03 12:21:40 +02:00
Alexander Tkachev
2231de040f
GUI: Add drawCircle()
2016-07-03 12:21:24 +02:00
Alexander Tkachev
f22d11953d
GUI: Add drawSquareClip()
2016-07-03 12:21:09 +02:00
Alexander Tkachev
559ca37daf
GUI: Add VectorRendererSpec::drawTriangleClip()
2016-07-03 12:20:37 +02:00
Alexander Tkachev
cccf6eed78
GUI: Add drawRoundedSquareShadowClip()
2016-07-03 12:18:18 +02:00
Alexander Tkachev
425d963bd3
GUI: Fix ThemeItemTextData's dirty rectangle
2016-07-03 12:17:26 +02:00
Alexander Tkachev
8f2d35b0b8
GUI: drawRoundedSquareClip()
2016-07-03 12:16:26 +02:00
Alexander Tkachev
3d2730a0dd
GUI: clippingRect propagated deeper
2016-07-03 12:15:51 +02:00
Johannes Schickel
5bc3a5aa3f
GRAPHICS: Let drawLineAlg in VectorRenderer code take unsigned dx, dy.
2016-02-21 14:41:29 +01:00
Filippos Karapetis
614de0d761
GRAPHICS: Remove trailing whitespace
2014-10-28 15:38:50 +02:00
Narek Mailian
6fa3c7751f
GRAPHICS: Gradient blending on borders of rounded squares
2013-08-16 20:54:10 +02:00
Narek Mailian
b91e10f931
GRAPHICS: Shadows on tabs
2013-08-16 20:54:09 +02:00
Narek Mailian
5c00dbbd2a
GRAPHICS: Add support for Soft Shadows with rounded squares
2013-08-16 20:54:08 +02:00
Narek Mailian
887a99e211
GRAPHICS: Added changes and improved code from inisider/scummvm (partial text)
...
Includes code from https://github.com/inisider/scummvm/ , which has been
squashed and bugfixed
2013-08-16 20:54:08 +02:00
Willem Jan Palenstijn
66d3def0e5
GUI: Implement AAed tabs
...
The stroke effect isn't properly implemented yet since it isn't used
in the modern theme.
There are slight bleeding colours around the corners of the
tab_background when its corners overlap with the corners of the
underlying dialog. These are hard to avoid because the underlying dialog
destroys the background that we should be blending these corners with.
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
19cb2dc7e7
GUI: Add AA dialog corners on alpha overlays
2012-02-20 22:17:33 +01:00
Willem Jan Palenstijn
905f9591ab
GUI: Speed up alpha blending with black for classic dialog backgrounds
2012-02-20 22:17:33 +01: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
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
Eugene Sandulenko
9d3eb2ebd7
GUI: Refactor gradient calculation into separate method
2011-12-10 11:51:10 +00:00