2 #ifndef _YI_CLOSED_CAPTIONS_STYLING_BRIDGE_H_ 3 #define _YI_CLOSED_CAPTIONS_STYLING_BRIDGE_H_ Definition: YiClosedCaptionsStylingBridge.h:65
virtual ~CYIClosedCaptionsStylingBridge()
EDGE_STYLE eEdgeStyle
Definition: YiClosedCaptionsStylingBridge.h:95
CYIColor windowColor
The color of the background of the rendering region for the caption.
Definition: YiClosedCaptionsStylingBridge.h:100
Definition: YiClosedCaptionsStylingBridge.h:51
bool bUsesDefaultEdgeColor
If true, indicates that the edge color from the content should be used as edge color.
Definition: YiClosedCaptionsStylingBridge.h:104
Definition: YiClosedCaptionsStylingBridge.h:66
A bridge which reports operating system closed captions style.
Definition: YiClosedCaptionsStylingBridge.h:18
Definition: YiClosedCaptionsStylingBridge.h:62
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
Definition: YiClosedCaptionsStylingBridge.h:45
Definition: YiClosedCaptionsStylingBridge.h:61
const CYIString & GetFontFamily() const
Definition: YiClosedCaptionsStylingBridge.h:49
CYIColor characterBackgroundColor
The color of the background of individual characters.
Definition: YiClosedCaptionsStylingBridge.h:98
Definition: YiClosedCaptionsStylingBridge.h:64
CYIColor characterColor
Definition: YiClosedCaptionsStylingBridge.h:93
static const Style & GetDefaultStyle()
bool bUsesDefaultCharacterBackgroundColor
If true, indicates that the character background color from the content should be used as character b...
Definition: YiClosedCaptionsStylingBridge.h:105
float fFontSizeFractionOfVideoHeight
The font size, as a fraction of the video height. Ranges from 0 to 1.
Definition: YiClosedCaptionsStylingBridge.h:91
Definition: YiClosedCaptionsStylingBridge.h:47
Definition: YiClosedCaptionsStylingBridge.h:37
Definition: YiClosedCaptionsStylingBridge.h:72
Definition: YiClosedCaptionsStylingBridge.h:46
CYIColor edgeColor
Definition: YiClosedCaptionsStylingBridge.h:96
FONT_TYPE
Definition: YiClosedCaptionsStylingBridge.h:43
Definition: YiClosedCaptionsStylingBridge.h:52
CYIString customFontFamily
A custom font family. Has no effect if eFontType is not CUSTOM.
Definition: YiClosedCaptionsStylingBridge.h:89
Definition: YiClosedCaptionsStylingBridge.h:53
Definition: YiClosedCaptionsStylingBridge.h:29
EDGE_STYLE
Definition: YiClosedCaptionsStylingBridge.h:59
Definition: YiClosedCaptionsStylingBridge.h:50
Definition: YiClosedCaptionsStylingBridge.h:33
int ssize_t
Definition: YiPredefWin32.h:133
virtual Style GetClosedCaptionsStyle() const =0
Definition: YiClosedCaptionsStylingBridge.h:48
MODE
Definition: YiClosedCaptionsStylingBridge.h:24
FONT_TYPE eFontType
The font type for closed captions. If set to CUSTOM, the font family specified in customFontFamily sh...
Definition: YiClosedCaptionsStylingBridge.h:88
A class used to represent a color value.
Definition: YiColor.h:31
bool bUsesDefaultCharacterColor
If true, indicates that the character color from the content should be used as character color...
Definition: YiClosedCaptionsStylingBridge.h:103
ssize_t GetFontID() const
bool bUsesDefaultWindowColor
If true, indicates that the window color from the content should be used as window color...
Definition: YiClosedCaptionsStylingBridge.h:106
Definition: YiClosedCaptionsStylingBridge.h:63
MODE eStylingMode
Definition: YiClosedCaptionsStylingBridge.h:86
bool bUsesDefaultFontSize
If true, indicates that the font size from the content should be used as font size.
Definition: YiClosedCaptionsStylingBridge.h:102