mirror of https://github.com/odrling/Aegisub
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:
parent
89d62b85f5
commit
7e040f6a66
|
@ -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)
|
- 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 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)
|
- 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 ===========================
|
= 1.10 beta - 2006.08.07 ===========================
|
||||||
|
|
|
@ -1013,6 +1013,8 @@ void FrameMain::LoadVideo(wxString file,bool autoload) {
|
||||||
// Always change script res
|
// Always change script res
|
||||||
SubsBox->ass->SetScriptInfo(_T("PlayResX"), wxString::Format(_T("%d"), vidx));
|
SubsBox->ass->SetScriptInfo(_T("PlayResX"), wxString::Format(_T("%d"), vidx));
|
||||||
SubsBox->ass->SetScriptInfo(_T("PlayResY"), wxString::Format(_T("%d"), vidy));
|
SubsBox->ass->SetScriptInfo(_T("PlayResY"), wxString::Format(_T("%d"), vidy));
|
||||||
|
SubsBox->ass->FlagAsModified(_("Change script resolution"));
|
||||||
|
SubsBox->CommitChanges();
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -47,6 +47,9 @@
|
||||||
|
|
||||||
///////////////////
|
///////////////////
|
||||||
// Link to library
|
// Link to library
|
||||||
|
#if __VISUALC__ >= 1200
|
||||||
|
//#pragma comment(lib,"asa.lib")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////
|
/////////////////////////////////////////////////
|
||||||
|
|
|
@ -44,6 +44,13 @@ extern "C" {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
///////////
|
||||||
|
// Library
|
||||||
|
#ifdef __VISUALC__
|
||||||
|
#pragma comment(lib,"libass.dll.a")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
///////////////////
|
///////////////////
|
||||||
// libass provider
|
// libass provider
|
||||||
class LibassSubtitlesProvider : public SubtitlesProvider {
|
class LibassSubtitlesProvider : public SubtitlesProvider {
|
||||||
|
|
Loading…
Reference in New Issue