VLC 4.0.0-dev
text_segment_t Struct Reference

Text segment for subtitles. More...

#include <vlc_text_style.h>

Collaboration diagram for text_segment_t:
[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...
 
text_segment_ruby_tp_ruby
 ruby descriptions 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

◆ p_ruby

text_segment_ruby_t* text_segment_t::p_ruby

ruby descriptions

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

◆ psz_text

char* text_segment_t::psz_text

text string of the segment

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

◆ style


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