30#include "guillaume/ecs/component_registry.hpp"
31#include "guillaume/entities/builder_base.hpp"
32#include "guillaume/ecs/entity_builder.hpp"
34#include "guillaume/components/icon_button.hpp"
35#include "guillaume/entities/button_base.hpp"
95 std::string _iconGlyphName;
96 std::string _selectedIconGlyphName;
99 std::function<void(
void)>
128 std::shared_ptr<IconButton>
buildEntity(
void)
override;
137 void reset(
void)
override;
224 std::shared_ptr<IconButton>
226 const std::string &iconGlyphName,
227 std::function<
void(
void)> onClick,
252 utility::graphic::Color32Bit
269 template<
typename... Arguments>
270 static std::shared_ptr<IconButton>
create(Arguments &&...arguments)
272 std::shared_ptr<IconButton> entity(
273 new IconButton(std::forward<Arguments>(arguments)...));
330 const std::string &iconGlyphName,
331 const std::string &selectedIconGlyphName,
334 const std::string &accessibilityLabel,
335 std::function<
void(
void)> onClick);
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...
Owns entities and gives the systems the list of entities to visit.
EntityBuilderBase(ecs::ComponentRegistry &componentRegistry, ecs::EntityRegistry &entityRegistry)
Widgets: the classes used to create entities with the right components and children.