Changing script resolution when asked to on video loading will now set an undo point.

Originally committed to SVN as r1015.
This commit is contained in:
Rodrigo Braz Monteiro 2007-04-07 01:56:55 +00:00
parent 89d62b85f5
commit 7e040f6a66
4 changed files with 13 additions and 0 deletions

View File

@ -103,6 +103,7 @@ Please visit http://aegisub.net to download latest version
- The three different "Recombine Lines" were merged into one that autodetects needed changes, and also supports two new cases. (AMZ)
- Added shortcut keys (escape to close and delete to delete a style, plus ctrl+c/v for copy/paste) to style manager. (Dansolo)
- Added a dummy video provider to create a blank video with customizeable options. (jfs & AMZ)
- Changing script resolution when asked to on video loading will now set an undo point. (AMZ)
= 1.10 beta - 2006.08.07 ===========================

View File

@ -1013,6 +1013,8 @@ void FrameMain::LoadVideo(wxString file,bool autoload) {
// Always change script res
SubsBox->ass->SetScriptInfo(_T("PlayResX"), wxString::Format(_T("%d"), vidx));
SubsBox->ass->SetScriptInfo(_T("PlayResY"), wxString::Format(_T("%d"), vidy));
SubsBox->ass->FlagAsModified(_("Change script resolution"));
SubsBox->CommitChanges();
break;
case 0:
default:

View File

@ -47,6 +47,9 @@
///////////////////
// Link to library
#if __VISUALC__ >= 1200
//#pragma comment(lib,"asa.lib")
#endif
/////////////////////////////////////////////////

View File

@ -44,6 +44,13 @@ extern "C" {
}
///////////
// Library
#ifdef __VISUALC__
#pragma comment(lib,"libass.dll.a")
#endif
///////////////////
// libass provider
class LibassSubtitlesProvider : public SubtitlesProvider {