Subtitles for the videos. More...
#include <VideoDisplay/SubTitles.hpp>
Classes | |
| class | Text |
| Subtitle text item. More... | |
Public Member Functions | |
| const Text * | current () |
| Returns the current text item to be shown. | |
| QString | getLongestSubtitle () const |
| Returns the longest subtitle string. | |
| bool | readSrt (const char *filename) |
| Read subtitles from an SRT file. More... | |
| size_t | size () const |
| Returns the number of subtitle items. | |
| void | update (Radiant::TimeStamp time) |
| Update the text to be shown to the user. | |
Subtitles for the videos.
| bool VideoDisplay::SubTitles::readSrt | ( | const char * | filename | ) |
Read subtitles from an SRT file.
| filename | SRT file name |