Loading...
Searching...
No Matches
CheckboxStyle.h
Go to the documentation of this file.
1//
2// CheckboxStyle.h
3//
4
5#ifndef MALENA_CHECKBOXSTYLE_H
6#define MALENA_CHECKBOXSTYLE_H
7
8#pragma once
9
13
14namespace ml
15{
27 {
29 { static_cast<CheckboxSettings&>(*this) = s; return *this; }
30
32 { static_cast<CheckboxTheme&>(*this) = t; return *this; }
33
35 { static_cast<CheckboxTheme&>(*this) = c; return *this; }
36
38 { static_cast<CheckboxSettings&>(*this) = c; return *this; }
39
41 { CheckboxTheme::applyFrom(t); return *this; }
42 };
43
45 {
47 { static_cast<CheckboxGroupSettings&>(*this) = s; return *this; }
48
50 { static_cast<CheckboxGroupTheme&>(*this) = t; return *this; }
51
53 { static_cast<CheckboxGroupSettings&>(*this) = s; return *this; }
54
56 { static_cast<CheckboxGroupTheme&>(*this) = t; return *this; }
57
59 { static_cast<CheckboxGroupTheme&>(*this) = c; return *this; }
60
62 { static_cast<CheckboxGroupSettings&>(*this) = c; return *this; }
63
66 };
67
68} // namespace ml
69
70#endif // MALENA_CHECKBOXSTYLE_H
Definition Component.h:22
Layout and behaviour settings for CheckboxGroup.
CheckboxGroupStyle & applyFrom(const Theme &t)
Populate all fields from the global Theme token set.
CheckboxGroupStyle & operator=(const CheckboxSettings &s)
CheckboxGroupStyle & operator=(const CheckboxTheme &t)
CheckboxGroupStyle & operator=(const CheckboxGroupTheme &t)
CheckboxGroupStyle & operator=(const ControlSettings &c)
CheckboxGroupStyle & operator=(const ControlTheme &c)
CheckboxGroupStyle & operator=(const CheckboxGroupSettings &s)
Color tokens for CheckboxGroup.
CheckboxGroupTheme & applyFrom(const Theme &t) override
Populate all fields from the global Theme token set.
Layout and behaviour settings for Checkbox.
Complete style descriptor for Checkbox.
CheckboxStyle & operator=(const ControlTheme &c)
CheckboxStyle & operator=(const CheckboxTheme &t)
CheckboxStyle & applyFrom(const Theme &t)
Populate all fields from the global Theme token set.
CheckboxStyle & operator=(const ControlSettings &c)
CheckboxStyle & operator=(const CheckboxSettings &s)
Color and font tokens for Checkbox.
CheckboxTheme & applyFrom(const Theme &t) override
Populate all fields from the global Theme token set.
Settings trait for interactive UI controls — layout only.
Theme tokens for interactive UI controls.
Universal design token set applied across all Themeable components.
Definition Theme.h:70