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/extended_floating_action_button.hpp"
36#include "guillaume/entities/button_base.hpp"
108 std::string _labelContent;
109 std::function<void(
void)>
139 std::shared_ptr<ExtendedFloatingActionButton>
149 void reset(
void)
override;
235 std::shared_ptr<ExtendedFloatingActionButton>
237 std::shared_ptr<Entity> parent,
238 const std::string &labelContent,
239 std::function<
void(
void)> onClick);
263 utility::graphic::Color32Bit
280 template<
typename... Arguments>
281 static std::shared_ptr<ExtendedFloatingActionButton>
284 std::shared_ptr<ExtendedFloatingActionButton> entity(
285 new ExtendedFloatingActionButton(
286 std::forward<Arguments>(arguments)...));
310 ExtendedFloatingActionButton &
setSize(
const Size &size);
338 ExtendedFloatingActionButton &
setCustomSize(std::optional<float> size);
347 ExtendedFloatingActionButton &
setExtended(
bool extended);
362 ExtendedFloatingActionButton &
setLowered(
const bool &lowered);
404 const std::string &iconGlyphName,
406 const std::string &labelContent,
409 const std::string &accessibilityLabel,
410 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.