VLC 4.0.0-dev
|
Text segment for subtitles. More...
#include <vlc_text_style.h>
Data Fields | |
char * | psz_text |
text string of the segment More... | |
text_style_t * | style |
style applied to this segment More... | |
text_segment_t * | p_next |
next segment More... | |
text_segment_ruby_t * | p_ruby |
ruby descriptions More... | |
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
text_segment_t* text_segment_t::p_next |
next segment
Referenced by text_segment_ChainDelete(), text_segment_Copy(), vout_OSDEpgEvent(), and vout_OSDSegmentSetNoWrap().
text_segment_ruby_t* text_segment_t::p_ruby |
ruby descriptions
Referenced by text_segment_Copy(), text_segment_Delete(), and text_segment_FromRuby().
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().
text_style_t* text_segment_t::style |
style applied to this segment
Referenced by text_segment_Copy(), text_segment_Delete(), text_segment_NewInheritStyle(), vout_OSDSegment(), and vout_OSDSegmentSetNoWrap().