mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
* bump to 2.19
* fixed PhTnpUpdateThemeData git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4325 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#define PHAPP_VERSION_MAJOR 2
|
||||
#define PHAPP_VERSION_MINOR 18
|
||||
#define PHAPP_VERSION_MINOR 19
|
||||
#define PHAPP_VERSION_REVISION 0
|
||||
#define PHAPP_VERSION_STRING "2.18"
|
||||
#define PHAPP_VERSION_STRING "2.19"
|
||||
|
||||
@@ -1897,9 +1897,19 @@ VOID PhTnpUpdateThemeData(
|
||||
}
|
||||
|
||||
Context->ThemeData = OpenThemeData_I(Context->Handle, L"TREEVIEW");
|
||||
Context->ThemeHasItemBackground = !!IsThemePartDefined_I(Context->ThemeData, TVP_TREEITEM, 0);
|
||||
Context->ThemeHasGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_GLYPH, 0);
|
||||
Context->ThemeHasHotGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_HOTGLYPH, 0);
|
||||
|
||||
if (Context->ThemeData)
|
||||
{
|
||||
Context->ThemeHasItemBackground = !!IsThemePartDefined_I(Context->ThemeData, TVP_TREEITEM, 0);
|
||||
Context->ThemeHasGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_GLYPH, 0);
|
||||
Context->ThemeHasHotGlyph = !!IsThemePartDefined_I(Context->ThemeData, TVP_HOTGLYPH, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
Context->ThemeHasItemBackground = FALSE;
|
||||
Context->ThemeHasGlyph = FALSE;
|
||||
Context->ThemeHasHotGlyph = FALSE;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user