Add support for TMT_HEADING1FONT, TMT_HEADING2FONT and TMT_BODYFONT. TMT_BODYFONT is used by Command Links.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com --- dlls/uxtheme/stylemap.c | 3 +++ include/tmschema.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/dlls/uxtheme/stylemap.c b/dlls/uxtheme/stylemap.c index 1949028581c..20ed1305da8 100644 --- a/dlls/uxtheme/stylemap.c +++ b/dlls/uxtheme/stylemap.c @@ -83,6 +83,9 @@ static const MSSTYLES_PROPERTY_MAP mapProperty[] = { {TMT_FONT, TMT_STATUSFONT, L"STATUSFONT"}, {TMT_FONT, TMT_MSGBOXFONT, L"MSGBOXFONT"}, {TMT_FONT, TMT_ICONTITLEFONT, L"ICONTITLEFONT"}, + {TMT_FONT, TMT_HEADING1FONT, L"HEADING1FONT"}, + {TMT_FONT, TMT_HEADING2FONT, L"HEADING2FONT"}, + {TMT_FONT, TMT_BODYFONT, L"BODYFONT"}, {TMT_BOOL, TMT_FLATMENUS, L"FLATMENUS"}, {TMT_SIZE, TMT_SIZINGBORDERWIDTH, L"SIZINGBORDERWIDTH"}, {TMT_SIZE, TMT_SCROLLBARWIDTH, L"SCROLLBARWIDTH"}, diff --git a/include/tmschema.h b/include/tmschema.h index 15afc48d5cc..2d2eccce11e 100644 --- a/include/tmschema.h +++ b/include/tmschema.h @@ -188,8 +188,11 @@ BEGIN_TM_PROPS() TM_PROP(804, TMT, STATUSFONT, FONT) TM_PROP(805, TMT, MSGBOXFONT, FONT) TM_PROP(806, TMT, ICONTITLEFONT, FONT) + TM_PROP(807, TMT, HEADING1FONT, FONT) + TM_PROP(808, TMT, HEADING2FONT, FONT) + TM_PROP(809, TMT, BODYFONT, FONT) # define TMT_FIRSTFONT TMT_CAPTIONFONT -# define TMT_LASTFONT TMT_ICONTITLEFONT +# define TMT_LASTFONT TMT_BODYFONT
/* Bool theme metric properties */ TM_PROP(1001, TMT, FLATMENUS, BOOL)