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
|
||||
{
|
||||
M3BodyMedium = QskSkin::HugeFont + 1,
|
||||
M3BodyLarge,
|
||||
M3HeadlineSmall,
|
||||
M3LabelLarge,
|
||||
M3BodyMedium = DefaultFont,
|
||||
M3BodyLarge = LargeFont,
|
||||
M3HeadlineSmall = SmallFont,
|
||||
M3LabelLarge = HugeFont,
|
||||
};
|
||||
|
||||
static constexpr QskAspect::Variation Filled = QskAspect::NoVariation;
|
||||
|
@ -349,14 +349,14 @@ class QSK_WINDOWS_EXPORT QskWindowsSkin : public QskSkin
|
||||
|
||||
enum FontRole
|
||||
{
|
||||
Caption = QskSkin::HugeFont + 1, // ### define QskSkin enums
|
||||
Body,
|
||||
BodyStrong,
|
||||
BodyLarge,
|
||||
Subtitle,
|
||||
Title,
|
||||
Caption = TinyFont,
|
||||
Body = DefaultFont,
|
||||
BodyStrong = SmallFont,
|
||||
BodyLarge = MediumFont,
|
||||
Subtitle = LargeFont,
|
||||
Title = HugeFont,
|
||||
TitleLarge,
|
||||
Display
|
||||
Display,
|
||||
};
|
||||
|
||||
static constexpr QskAspect::Variation Standard = QskAspect::NoVariation;
|
||||
|
Loading…
x
Reference in New Issue
Block a user