5 Struct md_atom
gullradriel edited this page 2026-10-09 00:55:18 +02:00

md_atom

One layout atom: a glyph (nbytes > 0) or a hard break. More...

Public Attributes

Name
float w
const char * url
unsigned char nbytes
ALLEGRO_FONT * font
unsigned char flags
unsigned char colid
char[4] bytes

Detailed Description

struct md_atom;

One layout atom: a glyph (nbytes > 0) or a hard break.

[url](Struct-md_atom#user-content-variable-url) is non-NULL for an atom belonging to a link, and points into the parsed document, which outlives every atom made from it.

Public Attributes Documentation

variable w

float w;

variable url

const char * url;

variable nbytes

unsigned char nbytes;

variable font

ALLEGRO_FONT * font;

variable flags

unsigned char flags;

variable colid

unsigned char colid;

variable bytes

char[4] bytes;