23#include "guillaume/components/glyph.hpp"
64 if (_fontSize == fontSize) {
79 if (_style == style) {
Glyph & setName(const std::string &name)
Choose the icon by name.
Style
Family of the Material Symbols font the icon belongs to.
Glyph & setFontSize(const float &fontSize)
Set the size of the icon.
const Style & getStyle(void) const
Get the font family of the icon.
Glyph(void)=default
Default constructor for the Glyph component.
const std::string & getName(void) const
Get the name of the icon.
const float & getFontSize(void) const
Get the size of the icon.
Glyph & setStyle(const Style &style)
Set the font family of the icon.
Glyph & setCode(uint32_t code)
Store a code point for the glyph.
uint32_t getCode(void) const
Get the stored code point.
void setHasChanged(bool hasChanged)
Raise or lower the changed flag.
State. Every class here is plain data attached to an entity.