Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtMultiTextLine_t

Information about a line of text in a PtMultiText

Synopsis:

typedef struct Pt_emt_text_line
{
    unsigned int            first_char;
    unsigned int            byte_offset;
    ushort_t                num_chars;
    PhRect_t                extent;
    PtMultiTextSegment_t    *segment;
    struct Pt_emt_text_line *prev;
    struct Pt_emt_text_line *next;
} PtMultiTextLine_t;

Description:

The PtMultiTextLine_t structure describes a line of text as displayed in a PtMultiText widget.

The members include:

first_char
The index into the entire string of the first character on the line.
byte_offset
The offset into the entire string of the first character on the line, in bytes.
num_chars
The number of characters on the line.
extent
The PhRect_t that specifies the extent of the line.
segment
A pointer to the PtMultiTextSegment_t structure that describes the segment in effect at the start of the line.
prev
A pointer to the PtMultiTextLine_t structure for the previous line.
next
A pointer to the PtMultiTextLine_t structure for the next line.

Classification:

Photon

See also:

PtMultiText, PtMultiTextInfo(), PtMultiTextSegment_t