demi's patches #1: scaled border and shadow by default on [Script Info]

Originally committed to SVN as r1425.
This commit is contained in:
Rodrigo Braz Monteiro 2007-07-16 03:16:17 +00:00
parent 425f6447b5
commit 5269a2e2a1
1 changed files with 2 additions and 0 deletions

View File

@ -463,6 +463,7 @@ void AssFile::LoadDefault (bool defline) {
AddLine(_T("WrapStyle: 0"), _T("[Script Info]"),-1,version);
AddLine(_T("PlayResX: 640"),_T("[Script Info]"),-1,version);
AddLine(_T("PlayResY: 480"),_T("[Script Info]"),-1,version);
AddLine(_T("ScaledBorderAndShadow: yes"),_T("[Script Info]"),-1,version);
AddLine(_T(""),_T("[Script Info]"),-1,version);
AddLine(_T("[V4+ Styles]"),_T("[V4+ Styles]"),-1,version);
AddLine(_T("Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding"),_T("[V4+ Styles]"),-1,version);
@ -1027,3 +1028,4 @@ std::list<AssFile*> AssFile::RedoStack;
bool AssFile::Popping;
bool AssFile::StackModified;