more subtitles settings added
@@ -14,6 +14,9 @@ pub struct Settings {
pub hardware_decoding: bool,
pub subtitles_language: String,
pub subtitles_size: u8,
+ pub subtitles_font: String,
+ pub subtitles_bold: bool,
+ pub subtitles_offset: u8,
pub subtitles_text_color: String,
pub subtitles_background_color: String,
pub subtitles_outline_color: String,
@@ -31,6 +34,9 @@ impl Default for Settings {
interface_language: "eng".to_owned(),
subtitles_language: "eng".to_owned(),
subtitles_size: 100,
+ subtitles_font: "Roboto".to_owned(),
+ subtitles_bold: false,
+ subtitles_offset: 5,
subtitles_text_color: "#FFFFFFFF".to_owned(),
subtitles_background_color: "#00000000".to_owned(),
subtitles_outline_color: "#00000000".to_owned(),
