Loading...
Searching...
No Matches
SelectStyle.h
Go to the documentation of this file.
1//
2// SelectStyle.h
3//
4
5#ifndef MALENA_SELECTSTYLE_H
6#define MALENA_SELECTSTYLE_H
7
8#pragma once
9
13
14namespace ml
15{
22 {
24 { static_cast<SelectSettings&>(*this) = s; return *this; }
25
27 { static_cast<SelectTheme&>(*this) = t; return *this; }
28
30 { static_cast<SelectTheme&>(*this) = i; return *this; }
31
33 { static_cast<SelectSettings&>(*this) = i; return *this; }
34
36 { static_cast<SelectTheme&>(*this) = c; return *this; }
37
39 { static_cast<SelectSettings&>(*this) = c; return *this; }
40
42 { SelectTheme::applyFrom(t); return *this; }
43 };
44
45} // namespace ml
46
47#endif // MALENA_SELECTSTYLE_H
Definition Component.h:22
Settings trait for interactive UI controls — layout only.
Theme tokens for interactive UI controls.
Layout and behaviour settings shared by all input controls.
Color and font tokens shared by all input controls.
Definition InputTheme.h:25
Layout and behaviour settings for Select.
Complete style descriptor for Select.
Definition SelectStyle.h:22
SelectStyle & applyFrom(const Theme &t)
Populate all fields from the global Theme token set.
Definition SelectStyle.h:41
SelectStyle & operator=(const SelectTheme &t)
Definition SelectStyle.h:26
SelectStyle & operator=(const ControlSettings &c)
Definition SelectStyle.h:38
SelectStyle & operator=(const InputSettings &i)
Definition SelectStyle.h:32
SelectStyle & operator=(const ControlTheme &c)
Definition SelectStyle.h:35
SelectStyle & operator=(const InputTheme &i)
Definition SelectStyle.h:29
SelectStyle & operator=(const SelectSettings &s)
Definition SelectStyle.h:23
Color tokens for Select.
Definition SelectTheme.h:25
SelectTheme & applyFrom(const Theme &t) override
Populate all fields from the global Theme token set.
Definition SelectTheme.h:46
Universal design token set applied across all Themeable components.
Definition Theme.h:70