Module: wine
Branch: master
Commit: e2daffda25bf79ec3313349b85a33e29d202b1de
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e2daffda25bf79ec3313349b…
Author: Zhiyi Zhang <zzhang(a)codeweavers.com>
Date: Mon Jul 4 22:08:25 2022 +0800
uxtheme/tests: Add more GetThemePartSize() tests in different DPI.
To test that GetThemePartSize() should always report theme part size in system DPI if the theme
handle is open without a valid window handle. Previous tests succeeded because the current DPI
happens to be 96.
Tested manually on Windows 10 for 96, 120, 144, 168, 192 and 216 DPI.
Signed-off-by: Zhiyi Zhang <zzhang(a)codeweavers.com>
---
dlls/uxtheme/tests/system.c | 158 ++++++++++++++++++++++++++++++--------------
1 file changed, 107 insertions(+), 51 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=e2daffda25bf79ec3313…