libsub
 All Classes Files Functions Variables
Public Member Functions | Public Attributes | List of all members
sub::Block Class Reference

A block of text within a subtitle's line. More...

#include <subtitle.h>

Collaboration diagram for sub::Block:
Collaboration graph
[legend]

Public Member Functions

 Block (RawSubtitle s)
 

Public Attributes

std::string text
 
boost::optional< std::string > font
 
FontSize font_size
 
boost::optional< Effect > effect
 
boost::optional< Coloureffect_colour
 
Colour colour
 
bool bold
 true to use a bold version of font
 
bool italic
 true to use an italic version of font
 
bool underline
 true to underline
 

Detailed Description

A block of text within a subtitle's line.

This represents a block of text which has a particular style (font, size, effect, colour etc.)

Constructor & Destructor Documentation

Block::Block ( RawSubtitle  s)

Construct a Block taking any relevant information from a RawSubtitle

Member Data Documentation

FontSize sub::Block::font_size

font size

std::string sub::Block::text

Subtitle text in UTF-8


The documentation for this class was generated from the following files: