feat(subtitles): color picker. Clear data after this. (#547)
* feat(subtitle): custom color picker * can't have two of the same buttons smh * It was a misinput * Too much
This commit is contained in:
parent
01a64c25fd
commit
6f1bb10dec
5 changed files with 286 additions and 413 deletions
|
@ -96,14 +96,14 @@ enum class PrefName(val data: Pref) { //TODO: Split this into multiple files
|
|||
Subtitles(Pref(Location.Player, Boolean::class, true)),
|
||||
TextviewSubtitles(Pref(Location.Player, Boolean::class, false)),
|
||||
SubLanguage(Pref(Location.Player, Int::class, 9)),
|
||||
PrimaryColor(Pref(Location.Player, Int::class, 4)),
|
||||
SecondaryColor(Pref(Location.Player, Int::class, 0)),
|
||||
PrimaryColor(Pref(Location.Player, Int::class, Color.WHITE)),
|
||||
SecondaryColor(Pref(Location.Player, Int::class, Color.BLACK)),
|
||||
Outline(Pref(Location.Player, Int::class, 0)),
|
||||
SubBackground(Pref(Location.Player, Int::class, 0)),
|
||||
SubWindow(Pref(Location.Player, Int::class, 0)),
|
||||
SubBackground(Pref(Location.Player, Int::class, Color.TRANSPARENT)),
|
||||
SubWindow(Pref(Location.Player, Int::class, Color.TRANSPARENT)),
|
||||
SubAlpha(Pref(Location.Player, Float::class, 1f)),
|
||||
SubStroke(Pref(Location.Player, Float::class, 8f)),
|
||||
SubBottomMargin(Pref(Location.Player, Float::class, 4f)),
|
||||
SubBottomMargin(Pref(Location.Player, Float::class, 1f)),
|
||||
Font(Pref(Location.Player, Int::class, 0)),
|
||||
FontSize(Pref(Location.Player, Int::class, 20)),
|
||||
Locale(Pref(Location.Player, Int::class, 2)),
|
||||
|
@ -220,4 +220,4 @@ enum class PrefName(val data: Pref) { //TODO: Split this into multiple files
|
|||
Socks5ProxyPort(Pref(Location.Protected, String::class, "")),
|
||||
Socks5ProxyUsername(Pref(Location.Protected, String::class, "")),
|
||||
Socks5ProxyPassword(Pref(Location.Protected, String::class, "")),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue