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