Skip to content
Extraits de code Groupes Projets
Valider a42e8277 rédigé par Niels Martin Hansen's avatar Niels Martin Hansen
Parcourir les fichiers

Add support for writing the EBU STL (tech 3264) subtitle format....

Add support for writing the EBU STL (tech 3264) subtitle format. Implementation sponsored by Bandai.
Forgive me for I have sinned: This adds new GUI with translatable strings, but it's a minor sin since the new GUI has very low visibility.

Originally committed to SVN as r5981.
parent 6270b312
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -1590,6 +1590,14 @@
RelativePath="..\..\src\subtitle_format_dvd.h"
>
</File>
<File
RelativePath="..\..\src\subtitle_format_ebu3264.cpp"
>
</File>
<File
RelativePath="..\..\src\subtitle_format_ebu3264.h"
>
</File>
<File
RelativePath="..\..\src\subtitle_format_encore.cpp"
>
......
......@@ -407,6 +407,8 @@ void OptionsManager::LoadDefaults(bool onlyDefaults,bool doOverride) {
SetText(_T("Style editor preview text"),previewText);
SetColour(_T("Style editor preview background"),wxColour(125,153,176));
SetText(_T("Export EBU STL Settings"), _T(""));
SetInt(_T("Updates Next Check Time"), 0);
}
......
......@@ -47,6 +47,7 @@
#include "subtitle_format_ttxt.h"
#include "subtitle_format_mkv.h"
#include "subtitle_format_microdvd.h"
#include "subtitle_format_ebu3264.h"
#include "subtitle_format_encore.h"
#include "subtitle_format_transtation.h"
#include "subtitle_format_dvd.h"
......@@ -137,6 +138,7 @@ void SubtitleFormat::LoadFormats () {
new MicroDVDSubtitleFormat();
new MKVSubtitleFormat();
new EncoreSubtitleFormat();
new Ebu3264SubtitleFormat();
new TranStationSubtitleFormat();
#ifdef __WXDEBUG__
new DVDSubtitleFormat();
......
Ce diff est replié.
// Copyright (c) 2011 Niels Martin Hansen <nielsm@aegisub.org>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
// Aegisub Project http://www.aegisub.org/
// This implements support for the EBU tech 3264 (1991) subtitling data exchange format.
// Work on support for this format was sponsored by Bandai.
#pragma once
#include "subtitle_format.h"
class Ebu3264SubtitleFormat : public SubtitleFormat {
public:
wxString GetName();
wxArrayString GetWriteWildcards();
bool CanWriteFile(wxString filename);
void WriteFile(wxString filename,wxString encoding);
};
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter