Loading...
Searching...
No Matches
ToolbarStyle.h
Go to the documentation of this file.
1// ToolbarStyle.h
2#ifndef MALENA_TOOLBARSTYLE_H
3#define MALENA_TOOLBARSTYLE_H
4#pragma once
8
9namespace ml
10{
12 {
14 { static_cast<ToolbarSettings&>(*this) = s; return *this; }
16 { static_cast<ToolbarTheme&>(*this) = t; return *this; }
18 { static_cast<ToolbarTheme&>(*this) = c; return *this; }
20 { static_cast<ToolbarSettings&>(*this) = c; return *this; }
22 { ToolbarTheme::applyFrom(t); return *this; }
23 };
24} // namespace ml
25#endif
Definition Component.h:22
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
ToolbarStyle & operator=(const ControlTheme &c)
ToolbarStyle & operator=(const ToolbarTheme &t)
ToolbarStyle & applyFrom(const Theme &t)
Populate all fields from the global Theme token set.
ToolbarStyle & operator=(const ToolbarSettings &s)
ToolbarStyle & operator=(const ControlSettings &c)
ToolbarTheme & applyFrom(const Theme &t) override
Populate all fields from the global Theme token set.