VLC  3.0.15
Data Fields
text_segment_t Struct Reference

Text segment for subtitles. More...

Collaboration diagram for text_segment_t:
Collaboration graph
[legend]

Data Fields

char * psz_text
 text string of the segment More...
 
text_style_tstyle
 style applied to this segment More...
 
text_segment_tp_next
 next segment More...
 

Detailed Description

Text segment for subtitles.

This structure is used to store a formatted text, with mixed styles Every segment is comprised of one text and a unique style

On style change, a new segment is created with the next part of text and the new style, and chained to the list

Create with text_segment_New and clean the chain with text_segment_ChainDelete

Field Documentation

◆ p_next

text_segment_t* text_segment_t::p_next

◆ psz_text

char* text_segment_t::psz_text

text string of the segment

Referenced by text_segment_Copy(), text_segment_Delete(), and text_segment_New().

◆ style

text_style_t* text_segment_t::style

The documentation for this struct was generated from the following file: