Commit a18df3a4 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

uxtheme: Support more font properties.

Add support for TMT_HEADING1FONT, TMT_HEADING2FONT and TMT_BODYFONT. TMT_BODYFONT is used by Command Links. Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 061ac08d
......@@ -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"},
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment