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

_N_GUI_TA_STEP

one step of a textarea's per-character wrapped layout

Public Attributes

Name
int wrapped
it does not fit: start a new line before placing it
int newline
the character is ' '
float cw
its pixel width (0 for a newline)
int clen
bytes consumed by this character (1 for a newline)
char[5] ch
the decoded character, NUL-terminated, for a caller that draws it

Public Attributes Documentation

variable wrapped

int wrapped;

it does not fit: start a new line before placing it

variable newline

int newline;

the character is ' '

variable cw

float cw;

its pixel width (0 for a newline)

variable clen

int clen;

bytes consumed by this character (1 for a newline)

variable ch

char[5] ch;

the decoded character, NUL-terminated, for a caller that draws it