跳转至

cf::ui::widget::material

Namespaces

Name
cf::ui::widget::material::base

Classes

Name
class cf::ui::widget::material::Button
Material Design 3 Button widget.
class cf::ui::widget::material::CheckBox
Material Design 3 CheckBox widget.
class cf::ui::widget::material::GroupBox
Material Design 3 GroupBox widget.
class cf::ui::widget::material::Label
Material Design 3 Label widget.
class cf::ui::widget::material::MaterialApplication
Material Design 3 Application class.
class cf::ui::widget::material::RadioButton
Material Design 3 RadioButton widget.
class cf::ui::widget::material::TextArea
Material Design 3 TextArea widget.
class cf::ui::widget::material::TextField
Material Design 3 TextField widget.

Types

Name
enum class TypographyStyle { DisplayLarge, DisplayMedium, DisplaySmall, HeadlineLarge, HeadlineMedium, HeadlineSmall, TitleLarge, TitleMedium, TitleSmall, BodyLarge, BodyMedium, BodySmall, LabelLarge, LabelMedium, LabelSmall}
Typography style for Material Design 3 labels.
enum class LabelColorVariant { OnSurface, OnSurfaceVariant, Primary, OnPrimary, Secondary, OnSecondary, Error, OnError, InverseSurface, InverseOnSurface}
Color variant for Material Design 3 labels.
typedef cf::ui::base::CFColor CFColor

Types Documentation

enum TypographyStyle

Enumerator Value Description
DisplayLarge
DisplayMedium
DisplaySmall
HeadlineLarge
HeadlineMedium
HeadlineSmall
TitleLarge
TitleMedium
TitleSmall
BodyLarge
BodyMedium
BodySmall
LabelLarge
LabelMedium
LabelSmall

Typography style for Material Design 3 labels.

Since: 0.1

Maps to Material Design 3 Type Scale with 15 styles across 5 categories: Display, Headline, Title, Body, Label.

enum LabelColorVariant

Enumerator Value Description
OnSurface Default on-surface color.
OnSurfaceVariant Variant on-surface color.
Primary Primary brand color.
OnPrimary Text on primary color.
Secondary Secondary brand color.
OnSecondary Text on secondary color.
Error Error color.
OnError Text on error color.
InverseSurface Inverted surface color.
InverseOnSurface Text on inverted surface.

Color variant for Material Design 3 labels.

Since: 0.1

Controls which color token is used for text rendering.

typedef CFColor

typedef cf::ui::base::CFColor cf::ui::widget::material::CFColor;

Updated on 2026-03-09 at 10:14:00 +0000