Loading...
Searching...
No Matches
ListItemStyle.h
Go to the documentation of this file.
1//
2// ListItemStyle.h
3//
4
5#ifndef MALENA_LISTITEMSTYLE_H
6#define MALENA_LISTITEMSTYLE_H
7
8#pragma once
9
13
14namespace ml
15{
22 {
24 { static_cast<ListItemSettings&>(*this) = s; return *this; }
25
27 { static_cast<ListItemTheme&>(*this) = t; return *this; }
28
30 { static_cast<ListItemTheme&>(*this) = c; return *this; }
31
33 { static_cast<ListItemSettings&>(*this) = c; return *this; }
34
36 { ListItemTheme::applyFrom(t); return *this; }
37 };
38
39} // namespace ml
40
41#endif // MALENA_LISTITEMSTYLE_H
Definition Component.h:22
Settings trait for interactive UI controls — layout only.
Theme tokens for interactive UI controls.
Layout and behaviour settings for ListItem.
Complete style descriptor for ListItem.
ListItemStyle & operator=(const ListItemTheme &t)
ListItemStyle & operator=(const ControlTheme &c)
ListItemStyle & operator=(const ControlSettings &c)
ListItemStyle & applyFrom(const Theme &t)
Populate all fields from the global Theme token set.
ListItemStyle & operator=(const ListItemSettings &s)
Color and font tokens for ListItem.
ListItemTheme & applyFrom(const Theme &t) override
Populate all fields from the global Theme token set.
Universal design token set applied across all Themeable components.
Definition Theme.h:70