Commit Graph

32 Commits

Author SHA1 Message Date
Zebediah Figura 8d251a1dd1 user32: Use GetSysColorBrush().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-19 12:01:57 +02:00
Huw Davies 94a87819c5 user32: Scale the check mark drawn with DrawFrameControl().
Based on a patch by Alexandre Julliard.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:22 +09:00
Huw Davies e06f3cd12c user32: Scale the edge thickness of check boxes drawn with DrawFrameControl().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:21 +09:00
Michael Stefaniuc 07ada9a85b user32: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:30 +09:00
Michael Stefaniuc 62c3bce847 user32: Use InflateRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 10:58:50 +09:00
Andrey Gusev a0c651cd7c user32: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 00:15:10 +09:00
Michael Stefaniuc 5f494bfeb4 include: Use inline functions for common RECT helpers.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 21:02:29 +09:00
Michael Stefaniuc 21e3de63de user32: Use IsRectEmpty() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:52 +09:00
Javier Cantero 1f15169f72 user32: Fix side effect in SubtractRect(). 2014-03-26 19:20:27 +01:00
Alexandre Julliard 209d1a86d2 user32: Delay creation of the 55AA pattern brush until it's needed. 2013-10-16 17:23:22 +02:00
Alexandre Julliard 8dc7b0d9c2 user32: Use the current DC layout in DrawState when drawing to an intermediate bitmap. 2013-06-18 12:57:44 +02:00
Nikolay Sivov 0325dc6186 user32: Fix right and bottom edge sizes. 2013-05-09 19:24:20 +02:00
Alexandre Julliard 4428049a7a user32: Make sure the scroll button arrows are really at least 3 pixels. 2012-11-20 19:46:56 +01:00
Alexandre Julliard 57f869d557 user32: Fix DrawFocusRect to always invert the destination regardless of the text color. 2012-09-10 11:38:15 +02:00
Francois Gouget 8defd5fc3a user32: Avoid hardcoding the Unicode string literal lengths. 2011-12-19 11:00:57 +01:00
Piotr Caban 816802cb11 user32: Fix DFC_BUTTONRADIOMASK flag support in DrawFrameControl. 2011-11-03 15:32:12 +01:00
André Hentschel 49434929c6 user32: Only select needed part of the flags. 2010-09-16 13:13:16 -05:00
Alexandre Julliard 0f90053575 user32: Add a common helper to set controls clip region, and make it behave correctly when mirrored. 2010-09-02 11:35:14 +02:00
Alexandre Julliard 05375a2a96 user32: Don't disable DrawFrameControl for non-text mapping modes. 2010-09-02 11:00:45 +02:00
Jaime Rave 6105216404 user32: Draw the rect edges from left to right and top to bottom. 2010-04-20 16:21:37 +02:00
Nikolay Sivov ff12594a15 user32/uitools: Fix FillRect behaviour for invalid brush passed. 2009-12-30 16:11:51 +01:00
Alexandre Julliard 62ac036bc6 user32: Add a helper to retrieve the dimensions of an icon. 2009-10-15 20:00:00 +02:00
Wilfried Pasquazzo 2326f3d4d5 user32: DrawState always uses real icon size for drawing. 2009-10-05 14:53:00 +02:00
Michael Stefaniuc 214b40b109 user32: Remove superfluous pointer casts. 2009-03-02 12:11:38 +01:00
Michael Stefaniuc fb11803d19 user32: Remove superfluous casts of void pointers. 2008-11-05 10:55:46 +01:00
Michael Stefaniuc 4fc84eaf5a user32: HGDIOBJ is interchangeable with other handle types; no casts are needed. 2008-10-27 11:29:54 +01:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Lei Zhang 6c1cdc7186 user32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Dmitry Timoshkov 9a295e7f87 user32: Fix some compilation warnings in 64-bit mode. 2007-05-30 13:24:27 +02:00
Andrew Talbot 93c5779458 user32: Exclude unused headers. 2007-05-21 13:36:18 +02:00
Dmitry Timoshkov f097da9f83 user32: Add a simple DrawState test, make it pass under Wine. 2007-01-11 12:05:45 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00