Alexandre Julliard
e7e576d675
user32: Also user the thread-safe display DC in icon functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:30:22 +01:00
Guo Lv
daa832f4bf
user32: Make functions use display dc thread-safe.
...
Signed-off-by: Guo Lv <lvguo@deepin.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 12:03:12 +01:00
Alexandre Julliard
d4654e5799
user32: Scale cursor sizes with the screen DPI.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-05 20:20:05 +02:00
Huw Davies
ee3f060262
user32: Change IsProcessDPIAware() to always return TRUE.
...
This mimics Windows' behaviour when the 'Use Windows XP style DPI
scaling' box is ticked. Since we don't have a DPI scaler, this makes
most sense.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 17:51:34 +02:00
Huw Davies
3d47809aca
user32: Fix icon spacing minimium values.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 17:51:32 +02:00
Huw Davies
fb118b222a
user32: Fix the calculation of system metrics icon sizes.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 17:51:31 +02:00
Austin English
d8db5e04bd
user32: Add GetAutoRotationState/GetDisplayAutoRotationPreferences stubs.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 09:42:51 +02:00
Huw Davies
e0843d234e
user32: Fix a potential buffer overflow.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 16:10:04 +02:00
Michael Stefaniuc
07f9f71278
user32: Use straight assignments instead of CopyRect().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 16:18:05 -05:00
Louis Lenders
5cf42c0c97
user32: Add stub for IsProcessDPIAware.
...
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-01 18:34:16 +09:00
Austin English
c7a4b0628d
user32: Add DisplayConfigGetDeviceInfo stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:06:43 +09:00
Alex Henrie
5b53c0b88b
user32: Avoid double initialization.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Dmitry Timoshkov
268cdbbfb6
user32: SystemParametersInfo(SPI_GETNONCLIENTMETRICS) should return real font names.
2015-07-17 19:29:20 +09:00
Frédéric Delanoy
f6a341c747
Assorted spelling/grammar fixes.
2015-03-27 22:29:48 +09:00
Frédéric Delanoy
e7c5c9ae9b
user32: Use BOOL type where appropriate.
2014-02-20 11:18:37 +01:00
Alexandre Julliard
010769249c
user32: Get the graphics driver name from the desktop window registry entry.
2013-10-29 12:12:21 +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
a657e5f6ef
user32: Make the default non-client metrics scalable with the resolution.
2013-06-17 19:30:38 +02:00
Jacek Caban
ded419707a
user32: Initialize cbSize of NONCLIENTMETRICSW struct in GetSystemMetrics.
2013-01-03 11:58:47 +01:00
Alexandre Julliard
72b3dfca7c
user32: Fix copy/paste typo.
2012-12-17 20:31:11 +01:00
Alexandre Julliard
71bb8c5e7c
user32: Properly fixup font system parameters with positive height.
2012-12-17 20:31:07 +01:00
Andrew Talbot
51f936adc2
user32: Remove unneeded address-of operator from array name.
2012-12-07 10:35:09 +01:00
Andrew Talbot
2f7885d990
user32: Do not call HeapFree() with address of stack memory.
2012-12-05 12:44:56 +01:00
Alexandre Julliard
1247225841
user32: Refresh the desktop when the wallpaper is changed.
2012-12-03 18:24:34 +01:00
Alexandre Julliard
65e480d701
user32: Reimplement system color handling using standard system parameter entries.
2012-11-19 16:35:23 +01:00
Alexandre Julliard
7c2ce566da
user32: Initialize some system parameters in the registry on first run.
2012-11-16 17:42:45 +01:00
Alexandre Julliard
9c729720a9
user32: Maintain a cache of registry keys for the various parameters.
2012-11-16 16:17:32 +01:00
Alexandre Julliard
2959b312d9
user32: Define a global list of parameter registry keys and store an index in the value string.
2012-11-16 16:17:32 +01:00
Alexandre Julliard
13fbce5627
user32: Forward SystemParametersInfo calls to the user driver first.
2012-11-15 21:21:49 +01:00
Alexandre Julliard
4a8716cf5b
user32: Check the length of the loaded registry key for system parameters.
2012-11-15 21:21:48 +01:00
Alexandre Julliard
4d653b77ec
user32: Add parameter entry objects for the desktop wallpaper and pattern.
2012-11-15 21:21:47 +01:00
Alexandre Julliard
002c626a11
user32: Use parameter entry objects for the non-client metrics parameters.
2012-11-15 21:21:46 +01:00
Alexandre Julliard
bfc8bc4d27
user32: Use the default GUI font for unspecified font parameters.
2012-11-15 21:21:43 +01:00
Alexandre Julliard
fb1c533e94
user32: Add helper functions for loading and saving system parameter registry entries.
2012-11-14 16:17:15 +01:00
Alexandre Julliard
270979dc9e
user32: Support more user preference system parameters.
2012-11-14 16:17:00 +01:00
Alexandre Julliard
95d782779c
user32: Add system parameter descriptors for user preference parameters.
2012-11-14 16:16:37 +01:00
Alexandre Julliard
44423f915c
user32: Add some defines to reduce Unicode string duplication.
2012-11-13 16:54:54 +01:00
Alexandre Julliard
2dc978686d
user32: Implement a number of missing system parameters.
2012-11-13 16:54:54 +01:00
Alexandre Julliard
c24017fa5a
user32: Add structures to describe individual system parameters to reduce code duplication.
2012-11-13 16:54:54 +01:00
Alexandre Julliard
b5d96da32f
user32: Add helper functions to get and set dword registry values in SystemParametersInfo.
2012-11-12 16:35:16 +01:00
Huw Davies
5c8e83c406
user32: If the value doesn't exist under the volatile key fallback to the permanent key.
2012-10-03 16:27:24 +02:00
Alexandre Julliard
75b641fc75
user32: Add a helper function to retrieve the virtual screen rectangle.
2012-09-05 21:56:55 +02:00
Michael Stefaniuc
4affaea0ba
user32: Avoid TRUE:FALSE conditional expressions.
2012-08-13 11:50:51 +02:00
Alexandre Julliard
f1bf4ea3fc
gdi32: Move DC hook private definitions out of wingdi.h.
2012-05-31 12:37:15 +02:00
Marcus Meissner
118dc1998f
user32: Load PaddedBorderWidth from registry too (Coverity).
2011-10-17 17:45:04 +02:00
Dmitry Timoshkov
9711cdbcab
user32: Respect the requested size of NONCLIENTMETRICSW structure.
2011-10-11 13:37:50 +02:00
Dmitry Timoshkov
197f867fef
user32: Fix the logic deciding when to write to the destination structure.
2011-10-10 13:44:46 +02:00
Dmitry Timoshkov
70caadbf34
user32: Add support for iPaddedBorderWidth in NONCLIENTMETRICS.
2011-10-08 19:47:35 +02:00
Francois Gouget
dd0f5377ed
user32: Change HotTrackingColor to better differentiate regular links from visited links.
2011-09-22 19:51:52 +02:00
André Hentschel
9cd2d61b6e
user32: Remove dead code (clang).
2011-07-04 13:43:17 +02:00