styles: Reuse font roles
This commit is contained in:
parent
99cf060deb
commit
6d93cc5716
@ -127,10 +127,10 @@ class QSK_MATERIAL3_EXPORT QskMaterial3Skin : public QskSkin
|
|||||||
|
|
||||||
enum FontRole
|
enum FontRole
|
||||||
{
|
{
|
||||||
M3BodyMedium = QskSkin::HugeFont + 1,
|
M3BodyMedium = DefaultFont,
|
||||||
M3BodyLarge,
|
M3BodyLarge = LargeFont,
|
||||||
M3HeadlineSmall,
|
M3HeadlineSmall = SmallFont,
|
||||||
M3LabelLarge,
|
M3LabelLarge = HugeFont,
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr QskAspect::Variation Filled = QskAspect::NoVariation;
|
static constexpr QskAspect::Variation Filled = QskAspect::NoVariation;
|
||||||
|
@ -349,14 +349,14 @@ class QSK_WINDOWS_EXPORT QskWindowsSkin : public QskSkin
|
|||||||
|
|
||||||
enum FontRole
|
enum FontRole
|
||||||
{
|
{
|
||||||
Caption = QskSkin::HugeFont + 1, // ### define QskSkin enums
|
Caption = TinyFont,
|
||||||
Body,
|
Body = DefaultFont,
|
||||||
BodyStrong,
|
BodyStrong = SmallFont,
|
||||||
BodyLarge,
|
BodyLarge = MediumFont,
|
||||||
Subtitle,
|
Subtitle = LargeFont,
|
||||||
Title,
|
Title = HugeFont,
|
||||||
TitleLarge,
|
TitleLarge,
|
||||||
Display
|
Display,
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr QskAspect::Variation Standard = QskAspect::NoVariation;
|
static constexpr QskAspect::Variation Standard = QskAspect::NoVariation;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user