30#include <utility/graphic/color.hpp>
32#include "guillaume/components/glyph.hpp"
33#include "guillaume/ecs/component_registry.hpp"
35#include "guillaume/ecs/component.hpp"
36#include "guillaume/ecs/entity.hpp"
80 using Handler = std::function<void(
void)>;
83 using TimePoint = std::chrono::steady_clock::time_point;
95 std::string _iconGlyphName {};
98 _selectedIconGlyphName {};
99 std::string _labelContent {};
108 bool _toggle {
false };
109 bool _selected {
false };
110 bool _morph {
false };
111 bool _trailingIcon {
false };
116 bool _visible {
true };
269 bool isMorph(
void)
const noexcept;
Style
Family of the Material Symbols font the icon belongs to.
Stores every component of a scene, per component type and per entity identifier, and knows which ones...
Base class of every component: a piece of state attached to an entity, plus a "changed" flag.
std::size_t Identifier
The key under which an entity's components are stored. Systems and components refer to entities by th...
static constexpr Identifier InvalidIdentifier
"No entity": never the identifier of a real entity
State. Every class here is plain data attached to an entity.