23#include "guillaume/components/button.hpp"
31 return _iconGlyphName;
36 if (_iconGlyphName != name) {
37 _iconGlyphName = name;
50 if (_iconStyle != style) {
59 return _selectedIconGlyphName;
64 if (_selectedIconGlyphName != name) {
65 _selectedIconGlyphName = name;
78 if (_labelContent != content) {
79 _labelContent = content;
92 if (_icon != identifier) {
106 if (_label != identifier) {
120 if (_toggle != toggle) {
134 if (_selected != selected) {
135 _selected = selected;
148 if (_morph != morph) {
157 return _trailingIcon;
162 if (_trailingIcon != trailing) {
163 _trailingIcon = trailing;
176 if (_loading != loading) {
190 if (_visible != visible) {
204 _onClick = std::move(handler);
215 _onLongPress = std::move(handler);
226 if (_pressStart != time) {
236 return _containerColorOverride;
241 if (_containerColorOverride != color) {
242 _containerColorOverride = color;
251 return _contentColorOverride;
256 if (_contentColorOverride != color) {
257 _contentColorOverride = color;
270 if (_restyle != function) {
Style
Family of the Material Symbols font the icon belongs to.
void setHasChanged(bool hasChanged)
Raise or lower the changed flag.
std::size_t Identifier
The key under which an entity's components are stored. Systems and components refer to entities by th...
State. Every class here is plain data attached to an entity.