[UXTHEME] Greatly reduce the number of times we open the theme data for the non clien...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 19 May 2017 10:01:50 +0000 (10:01 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 19 May 2017 10:01:50 +0000 (10:01 +0000)
commit94f9c1a7c1544e5975102c0ca587dcb1fefba1d5
tree8d9c2183542cf87daabeb977199ba47ae853a269
parent48014fdd4b9464ad798cd5251f438281f45a3b58
[UXTHEME] Greatly reduce the number of times we open the theme data for the non client area.
- Implement OTD_NONCLIENT for OpenThemeDataEx and OpenThemeDataFromFile.
- Open the WINDOW or the SCROLLBAR theme classes only when needed. Use OpenThemeDataEx instead of the internal MSSTYLES_OpenThemeClass. Cache the open theme in the WND_DATA for later use.

svn path=/trunk/; revision=74592
reactos/dll/win32/uxtheme/nonclient.c
reactos/dll/win32/uxtheme/system.c
reactos/dll/win32/uxtheme/themehooks.c
reactos/dll/win32/uxtheme/uxthemep.h