A bridge which reports operating system closed captions style.
Can be used to access the user's closed captioning style from the operating system settings.
#include <player/YiClosedCaptionsStylingBridge.h>
Classes | |
| struct | Style |
Public Member Functions | |
| virtual | ~CYIClosedCaptionsStylingBridge () |
| virtual Style | GetClosedCaptionsStyle () const =0 |
Static Public Member Functions | |
| static const Style & | GetDefaultStyle () |
An enum that identifies the font type to use to render closed captions. FONT_DEFAULT indicates that the default font from the content (or from the player) should be used.
| Enumerator | |
|---|---|
| FONT_DEFAULT | |
| FONT_MONOSPACE_SANS_SERIF | |
| FONT_PROPORTIONAL_SANS_SERIF | |
| FONT_MONOSPACE_WITH_SERIF | |
| FONT_PROPORTIONAL_WITH_SERIF | |
| FONT_CASUAL | |
| FONT_CURSIVE | |
| FONT_SMALL_CAPITALS | |
| FONT_CUSTOM | |
An enum that defines whether the style information provided by this bridge should be used to render captions.
|
virtual |
|
pure virtual |
Returns the closed captionning style as configured on the operating system.
|
static |