mirror of https://github.com/odrling/Aegisub
Originally committed to SVN as r779.
This commit is contained in:
parent
e9e21eba7d
commit
cd0fd49916
|
@ -71,9 +71,9 @@ DialogFontsCollector::DialogFontsCollector(wxWindow *parent)
|
||||||
}
|
}
|
||||||
DestBox = new wxTextCtrl(this,-1,dest,wxDefaultPosition,wxSize(250,20),0);
|
DestBox = new wxTextCtrl(this,-1,dest,wxDefaultPosition,wxSize(250,20),0);
|
||||||
BrowseButton = new wxButton(this,BROWSE_BUTTON,_("&Browse..."));
|
BrowseButton = new wxButton(this,BROWSE_BUTTON,_("&Browse..."));
|
||||||
AttachmentCheck = new wxCheckBox(this,ATTACHMENT_CHECK,_T("As attachments"),wxDefaultPosition);
|
AttachmentCheck = new wxCheckBox(this,ATTACHMENT_CHECK,_("As attachments"),wxDefaultPosition);
|
||||||
AttachmentCheck->SetValue(Options.AsBool(_T("Fonts Collector Attachment")));
|
AttachmentCheck->SetValue(Options.AsBool(_T("Fonts Collector Attachment")));
|
||||||
ArchiveCheck = new wxCheckBox(this,ARCHIVE_CHECK,_T("As a zipped archive"),wxDefaultPosition);
|
ArchiveCheck = new wxCheckBox(this,ARCHIVE_CHECK,_("As a zipped archive"),wxDefaultPosition);
|
||||||
ArchiveCheck->SetValue(Options.AsBool(_T("Fonts Collector Archive")));
|
ArchiveCheck->SetValue(Options.AsBool(_T("Fonts Collector Archive")));
|
||||||
if (ArchiveCheck->GetValue()) AttachmentCheck->SetValue(false);
|
if (ArchiveCheck->GetValue()) AttachmentCheck->SetValue(false);
|
||||||
wxSizer *DestBottomSizer = new wxBoxSizer(wxHORIZONTAL);
|
wxSizer *DestBottomSizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
|
|
|
@ -1048,7 +1048,7 @@ void VideoDisplayVisual::OnMouseEvent (wxMouseEvent &event) {
|
||||||
// Update
|
// Update
|
||||||
if (realTime) {
|
if (realTime) {
|
||||||
AssLimitToVisibleFilter::SetFrame(frame_n);
|
AssLimitToVisibleFilter::SetFrame(frame_n);
|
||||||
grid->editBox->SetOverride(_T("\\clip"),wxString::Format(_T("%i,%i,%i,%i"),curX,curY,curX2,curY2),0);
|
grid->editBox->SetOverride(_T("\\clip"),wxString::Format(_T("(%i,%i,%i,%i)"),curX,curY,curX2,curY2),0);
|
||||||
grid->editBox->CommitText(true);
|
grid->editBox->CommitText(true);
|
||||||
grid->CommitChanges(false,true);
|
grid->CommitChanges(false,true);
|
||||||
}
|
}
|
||||||
|
@ -1083,7 +1083,7 @@ void VideoDisplayVisual::OnMouseEvent (wxMouseEvent &event) {
|
||||||
|
|
||||||
// Finished clipping
|
// Finished clipping
|
||||||
else if (hold == 5) {
|
else if (hold == 5) {
|
||||||
grid->editBox->SetOverride(_T("\\clip"),wxString::Format(_T("%i,%i,%i,%i"),curX,curY,curX2,curY2),0);
|
grid->editBox->SetOverride(_T("\\clip"),wxString::Format(_T("(%i,%i,%i,%i)"),curX,curY,curX2,curY2),0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Commit
|
// Commit
|
||||||
|
|
Loading…
Reference in New Issue