53a0d57aff
If a window is not passed to OpenThemeData(), OpenThemeData() assumes the DPI is 96 according to tests. And GetThemePartSize() should select theme parts according to the DPI stored in theme handles rather than using GDI device contexts. Thus, OpenThemeDataForDpi() should be used in place of OpenThemeData() when DPI is not 96 and theme handles shouldn't be associated with a window. Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> |
||
---|---|---|
.. | ||
Makefile.in | ||
about.c | ||
appdefaults.c | ||
audio.c | ||
drive.c | ||
driveui.c | ||
idw_testsound.wav | ||
libraries.c | ||
logo.ico | ||
logo.svg | ||
main.c | ||
resource.h | ||
theme.c | ||
winecfg.c | ||
winecfg.h | ||
winecfg.ico | ||
winecfg.man.in | ||
winecfg.manifest | ||
winecfg.rc | ||
winecfg.svg | ||
x11drvdlg.c |