More STL binary reading stuff.
[libsub.git] / src / subtitle.h
index 70a8eb6d0ed73f98ef8547353b3bfb867cbb2219..fc08ac7ce9ad9b001b234a0c68d9750a63e50e98 100644 (file)
@@ -42,6 +42,7 @@ public:
                , line (0)
        {}
 
+       /** Subtitle text in UTF-8 */
        std::string text;
        std::string font;
 
@@ -71,7 +72,7 @@ public:
        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
-       int line;
+       int line;       ///< line number, starting from 0
 
        /** from time */
        struct {