32#include "guillaume/ecs/component_registry.hpp"
33#include "guillaume/ecs/parent_entity_filler.hpp"
35#include "guillaume/components/borders.hpp"
36#include "guillaume/components/button.hpp"
37#include "guillaume/components/transform.hpp"
38#include "guillaume/components/bound.hpp"
39#include "guillaume/components/accessibility.hpp"
40#include "guillaume/components/color.hpp"
41#include "guillaume/components/focus.hpp"
42#include "guillaume/components/hand_button_interaction.hpp"
43#include "guillaume/components/hand_hover_interaction.hpp"
44#include "guillaume/components/mouse_hover_interaction.hpp"
45#include "guillaume/components/mouse_button_interaction.hpp"
46#include "guillaume/components/style_state.hpp"
48#include "guillaume/entities/icon.hpp"
49#include "guillaume/entities/text.hpp"
50#include "guillaume/systems/button.hpp"
98 public std::enable_shared_from_this<ButtonBase>,
100 components::Transform, components::Bound, components::Color,
101 components::Borders, components::Focus,
102 components::HandButtonInteraction, components::HandHoverInteraction,
103 components::MouseHoverInteraction,
104 components::MouseButtonInteraction, components::StyleState,
105 components::Accessibility, components::Button>
303 std::optional<utility::graphic::Color32Bit> color);
313 std::optional<utility::graphic::Color32Bit> color);
391 const std::string &iconGlyphName,
393 const std::string &labelContent,
bool isToggle,
bool isMorph,
395 const std::string &accessibilityLabel,
396 std::function<
void(
void)> onClick);
448 virtual utility::graphic::Color32Bit
486 const utility::graphic::PositionF &position,
487 const utility::graphic::OrientationF &orientation,
488 const std::uint32_t &layer);
497 static utility::graphic::Color32Bit
510 static utility::graphic::Color32Bit
512 const utility::graphic::Color32Bit &overlay,
601 const utility::graphic::Color32Bit &color)
const;
610 const utility::graphic::Color32Bit &color)
const;
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...
std::size_t Identifier
The key under which an entity's components are stored. Systems and components refer to entities by th...
The base class of a widget with children: an EntityFiller that is also a ParentEntity.
AccessibilityRole
What an entity is for a screen reader or another assistive technology. The values mirror react-native...
Widgets: the classes used to create entities with the right components and children.