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