GGUI::SnapshotSpan struct

One span of rich text as drawn: its class (text colour, background), or the image in its box.

Public variables

uint64_t ClassID
its style class's key
ImageInfo Image
its image, if bImage
bool bImage
an inline image
bool bLink
part of a link: styled in its own State, not the node's
uint8_t State
a link's: hovered, or focused from the keyboard (NodeState)

Friends

auto operator==(const SnapshotSpan&, const SnapshotSpan&) -> bool defaulted
every member equal