27#include "guillaume/ecs/component.hpp"
28#include "guillaume/ecs/entity.hpp"
68 enum class Mode { Elevated, Flat };
74 enum class Size { Small, Medium, Large };
77 Variant _variant { Variant::Primary };
78 Size _size { Size::Medium };
79 Mode _mode { Mode::Elevated };
80 std::optional<float> _customSize {};
81 bool _lowered {
false };
142 const std::optional<float> &
getCustomSize(
void)
const noexcept;
Base class of every component: a piece of state attached to an entity, plus a "changed" flag.
State. Every class here is plain data attached to an entity.
@ Secondary
Tones of the secondary accent color.
@ Tertiary
Tones of the tertiary accent color.
@ Primary
Tones of the primary accent color.