Eric Pouech
5c637c228f
gdi32/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-28 10:31:43 +01:00
Zhiyi Zhang
1febcf692f
gdi32/tests: Test deleting the bitmap used for pattern brush creation.
...
Test that the bitmap for pattern brush creation can be deleted after CreatePatternBrush() and the
created brush will still function normally. However, the bitmap object can not be retrieved from
LOGBRUSH.lbHatch if the bitmap is deleted.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-07 12:21:50 +01:00
Jacek Caban
2c467a2d1e
gdi32: Reimplement CreateBrushIndirect on top of other brush constructors.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-25 18:28:20 +02:00
Michael Stefaniuc
0ae101080b
gdi32/tests: Remove useless casts to self.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-12 09:32:13 +02:00
Michael Stefaniuc
314a276f19
gdi32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Huw Davies
6a8cfea99b
gdi32: Use POINT and SIZE to hold positions and extents.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-27 22:21:08 +09:00
Dmitry Timoshkov
dd579e4c78
gdi32/tests: Fix brush tests compilation with __WINESRC__ defined.
2013-10-16 11:41:20 +02:00
Alexandre Julliard
ee89ce2982
gdi32: Add sanity checks for brush hatch styles.
2011-12-30 11:04:16 +01:00
Alexandre Julliard
63a9217539
gdi32: Add checks for invalid color usage values.
2011-12-29 16:18:39 +01:00
Dmitry Timoshkov
6acf226fa1
gdi32: Remove a duplicated line of code.
2011-11-09 11:39:02 +01:00
Alexandre Julliard
bb162ba4b4
gdi32: Reselect the pattern brush on every use if it's mapped with DIB_PAL_COLORS.
2011-11-08 13:18:01 +01:00
Alexandre Julliard
b47debddf5
gdi32: Return the original brush data in GetObject.
2011-11-07 21:06:21 +01:00
Alexandre Julliard
7f7dd82c7b
gdi32: Sanitize the DIB information for DIB pattern brushes.
2011-11-02 12:22:44 +01:00
Alexandre Julliard
8afcff3c79
gdi32/tests: Add some tests for palette-relative pattern brushes.
2011-11-02 11:47:43 +01:00
Alexandre Julliard
4ec87b3e8d
gdi32: Add some brush tests.
2011-11-01 14:12:16 +01:00
Michael Stefaniuc
8ff77fce45
gdi32/tests: HGDIOBJ is interchangeable with other handle types; no casts are needed.
2008-10-27 11:30:01 +01:00
James Hawkins
e1d56fa4bd
comctl32: Fix a failing test in win9x.
2008-09-29 17:24:07 -05:00
Alexandre Julliard
7dfc447741
gdi32: Renamed the gdi directory to gdi32.
2006-10-20 12:25:29 +02:00