31#include "guillaume/ecs/component_registry.hpp"
32#include "guillaume/entities/builder_base.hpp"
33#include "guillaume/ecs/entity_builder.hpp"
35#include "guillaume/components/floating_action_button.hpp"
36#include "guillaume/entities/button_base.hpp"
104 std::string _iconGlyphName;
106 std::string _labelContent;
107 std::function<void(
void)>
137 std::shared_ptr<FloatingActionButton>
buildEntity(
void)
override;
146 void reset(
void)
override;
234 std::shared_ptr<FloatingActionButton>
236 const std::string &iconGlyphName,
237 std::function<
void(
void)> onClick,
262 utility::graphic::Color32Bit
279 template<
typename... Arguments>
280 static std::shared_ptr<FloatingActionButton>
283 std::shared_ptr<FloatingActionButton> entity(
284 new FloatingActionButton(
285 std::forward<Arguments>(arguments)...));
336 FloatingActionButton &
setCustomSize(std::optional<float> size);
345 FloatingActionButton &
setLowered(
const bool &lowered);
385 const std::string &iconGlyphName,
387 const std::string &labelContent,
Variant variant,
389 const std::string &accessibilityLabel,
390 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.