2012-03-25 06:04:59 +02:00
|
|
|
// Copyright (c) 2012, Thomas Goyne <plorkyeran@aegisub.org>
|
2006-01-16 22:02:54 +01:00
|
|
|
//
|
2012-03-25 06:04:59 +02:00
|
|
|
// 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.
|
2006-01-16 22:02:54 +01:00
|
|
|
//
|
2012-03-25 06:04:59 +02:00
|
|
|
// 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.
|
2009-07-29 07:43:02 +02:00
|
|
|
|
|
|
|
/// @file dialog_resample.cpp
|
|
|
|
/// @brief Resample Resolution dialogue box and logic
|
|
|
|
/// @ingroup tools_ui
|
|
|
|
///
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2009-01-04 07:31:48 +01:00
|
|
|
#include "config.h"
|
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
#include "dialog_resample.h"
|
|
|
|
|
|
|
|
#include <algorithm>
|
2012-09-25 01:35:27 +02:00
|
|
|
#include <functional>
|
2012-03-25 06:04:59 +02:00
|
|
|
|
|
|
|
#include <wx/checkbox.h>
|
2011-01-16 08:17:36 +01:00
|
|
|
#include <wx/sizer.h>
|
2012-03-25 06:04:59 +02:00
|
|
|
#include <wx/spinctrl.h>
|
|
|
|
#include <wx/statbox.h>
|
2011-01-16 08:17:36 +01:00
|
|
|
#include <wx/stattext.h>
|
2012-03-25 06:04:59 +02:00
|
|
|
#include <wx/valgen.h>
|
2011-01-16 08:17:36 +01:00
|
|
|
|
2006-01-16 22:02:54 +01:00
|
|
|
#include "ass_dialogue.h"
|
2009-09-10 15:06:40 +02:00
|
|
|
#include "ass_file.h"
|
|
|
|
#include "ass_style.h"
|
2011-01-16 08:17:36 +01:00
|
|
|
#include "include/aegisub/context.h"
|
2009-09-10 15:06:40 +02:00
|
|
|
#include "help_button.h"
|
|
|
|
#include "libresrc/libresrc.h"
|
2007-01-21 18:01:22 +01:00
|
|
|
#include "video_context.h"
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-11-05 17:20:58 +01:00
|
|
|
#include <libaegisub/of_type_adaptor.h>
|
|
|
|
|
2011-01-16 08:17:36 +01:00
|
|
|
enum {
|
2012-03-25 06:04:59 +02:00
|
|
|
LEFT = 0,
|
|
|
|
RIGHT = 1,
|
|
|
|
TOP = 2,
|
|
|
|
BOTTOM = 3
|
2011-01-16 08:17:36 +01:00
|
|
|
};
|
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
DialogResample::DialogResample(agi::Context *c, ResampleSettings &settings)
|
|
|
|
: wxDialog(c->parent, -1, _("Resample Resolution"))
|
2011-01-21 07:09:13 +01:00
|
|
|
, c(c)
|
2006-01-16 22:02:54 +01:00
|
|
|
{
|
2012-04-03 22:40:24 +02:00
|
|
|
SetIcon(GETICON(resample_toolbutton_16));
|
2007-07-05 01:09:40 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
memset(&settings, 0, sizeof(settings));
|
|
|
|
c->ass->GetResolution(settings.script_x, settings.script_y);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
// Create all controls and set validators
|
|
|
|
for (size_t i = 0; i < 4; ++i) {
|
|
|
|
margin_ctrl[i] = new wxSpinCtrl(this, -1, "0", wxDefaultPosition, wxSize(50, -1), wxSP_ARROW_KEYS, -9999, 9999, 0);
|
|
|
|
margin_ctrl[i]->SetValidator(wxGenericValidator(&settings.margin[i]));
|
|
|
|
}
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
symmetrical = new wxCheckBox(this, -1, _("&Symmetrical"));
|
|
|
|
symmetrical->SetValue(true);
|
|
|
|
|
|
|
|
margin_ctrl[RIGHT]->Enable(false);
|
|
|
|
margin_ctrl[BOTTOM]->Enable(false);
|
|
|
|
|
|
|
|
res_x = new wxSpinCtrl(this, -1, "", wxDefaultPosition, wxSize(50, -1), wxSP_ARROW_KEYS, 1, INT_MAX);
|
|
|
|
res_y = new wxSpinCtrl(this, -1, "", wxDefaultPosition, wxSize(50, -1), wxSP_ARROW_KEYS, 1, INT_MAX);
|
|
|
|
|
|
|
|
res_x->SetValidator(wxGenericValidator(&settings.script_x));
|
|
|
|
res_y->SetValidator(wxGenericValidator(&settings.script_y));
|
|
|
|
|
|
|
|
wxButton *from_video = new wxButton(this, -1, _("From &video"));
|
|
|
|
from_video->Enable(c->videoController->IsLoaded());
|
|
|
|
|
|
|
|
wxCheckBox *change_ar = new wxCheckBox(this, -1, _("&Change aspect ratio"));
|
|
|
|
change_ar->SetValidator(wxGenericValidator(&settings.change_ar));
|
|
|
|
|
|
|
|
// Position the controls
|
|
|
|
wxSizer *margin_sizer = new wxGridSizer(3, 3, 5, 5);
|
|
|
|
margin_sizer->AddSpacer(1);
|
|
|
|
margin_sizer->Add(margin_ctrl[TOP], wxSizerFlags(1).Expand());
|
|
|
|
margin_sizer->AddSpacer(1);
|
|
|
|
margin_sizer->Add(margin_ctrl[LEFT], wxSizerFlags(1).Expand());
|
|
|
|
margin_sizer->Add(symmetrical, wxSizerFlags(1).Expand());
|
|
|
|
margin_sizer->Add(margin_ctrl[RIGHT], wxSizerFlags(1).Expand());
|
|
|
|
margin_sizer->AddSpacer(1);
|
|
|
|
margin_sizer->Add(margin_ctrl[BOTTOM], wxSizerFlags(1).Expand());
|
|
|
|
margin_sizer->AddSpacer(1);
|
|
|
|
|
|
|
|
wxSizer *margin_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Margin offset"));
|
|
|
|
margin_box->Add(margin_sizer, wxSizerFlags(1).Expand().Border(wxBOTTOM));
|
|
|
|
|
|
|
|
wxSizer *res_sizer = new wxBoxSizer(wxHORIZONTAL);
|
2012-05-15 16:07:14 +02:00
|
|
|
res_sizer->Add(res_x, wxSizerFlags(1).Border(wxRIGHT).Align(wxALIGN_CENTER_VERTICAL));
|
2012-03-25 06:04:59 +02:00
|
|
|
res_sizer->Add(new wxStaticText(this, -1, _("x")), wxSizerFlags().Center().Border(wxRIGHT));
|
2012-05-15 16:07:14 +02:00
|
|
|
res_sizer->Add(res_y, wxSizerFlags(1).Border(wxRIGHT).Align(wxALIGN_CENTER_VERTICAL));
|
2012-03-25 06:04:59 +02:00
|
|
|
res_sizer->Add(from_video, wxSizerFlags(1));
|
|
|
|
|
|
|
|
wxSizer *res_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Resolution"));
|
|
|
|
res_box->Add(res_sizer, wxSizerFlags(1).Expand().Border(wxBOTTOM));
|
|
|
|
res_box->Add(change_ar);
|
|
|
|
|
|
|
|
wxSizer *main_sizer = new wxBoxSizer(wxVERTICAL);
|
|
|
|
main_sizer->Add(margin_box, wxSizerFlags(1).Expand().Border());
|
|
|
|
main_sizer->Add(res_box, wxSizerFlags(0).Expand().Border());
|
|
|
|
main_sizer->Add(CreateStdDialogButtonSizer(wxOK | wxCANCEL | wxHELP), wxSizerFlags().Expand().Border(wxALL & ~wxTOP));
|
|
|
|
SetSizerAndFit(main_sizer);
|
|
|
|
CenterOnParent();
|
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
// Bind events
|
2012-09-25 01:35:27 +02:00
|
|
|
using std::bind;
|
2012-03-25 06:04:59 +02:00
|
|
|
Bind(wxEVT_COMMAND_BUTTON_CLICKED, bind(&HelpButton::OpenPage, "Resample resolution"), wxID_HELP);
|
|
|
|
from_video->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogResample::SetDestFromVideo, this);
|
|
|
|
symmetrical->Bind(wxEVT_COMMAND_CHECKBOX_CLICKED, &DialogResample::OnSymmetrical, this);
|
|
|
|
margin_ctrl[LEFT]->Bind(wxEVT_COMMAND_SPINCTRL_UPDATED, bind(&DialogResample::OnMarginChange, this, margin_ctrl[LEFT], margin_ctrl[RIGHT]));
|
|
|
|
margin_ctrl[TOP]->Bind(wxEVT_COMMAND_SPINCTRL_UPDATED, bind(&DialogResample::OnMarginChange, this, margin_ctrl[TOP], margin_ctrl[BOTTOM]));
|
2007-10-18 04:47:13 +02:00
|
|
|
}
|
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
void DialogResample::SetDestFromVideo(wxCommandEvent &) {
|
|
|
|
res_x->SetValue(c->videoController->GetWidth());
|
|
|
|
res_y->SetValue(c->videoController->GetHeight());
|
2006-01-16 22:02:54 +01:00
|
|
|
}
|
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
void DialogResample::OnSymmetrical(wxCommandEvent &) {
|
|
|
|
bool state = !symmetrical->IsChecked();
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
margin_ctrl[RIGHT]->Enable(state);
|
|
|
|
margin_ctrl[BOTTOM]->Enable(state);
|
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
if (!state) {
|
|
|
|
margin_ctrl[RIGHT]->SetValue(margin_ctrl[LEFT]->GetValue());
|
|
|
|
margin_ctrl[BOTTOM]->SetValue(margin_ctrl[TOP]->GetValue());
|
2008-01-11 04:33:23 +01:00
|
|
|
}
|
2012-03-25 06:04:59 +02:00
|
|
|
}
|
2008-01-11 04:33:23 +01:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
void DialogResample::OnMarginChange(wxSpinCtrl *src, wxSpinCtrl *dst) {
|
|
|
|
if (symmetrical->IsChecked())
|
|
|
|
dst->SetValue(src->GetValue());
|
|
|
|
}
|
2007-10-18 04:47:13 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
namespace {
|
|
|
|
struct resample_state {
|
|
|
|
const int *margin;
|
|
|
|
double rx;
|
|
|
|
double ry;
|
|
|
|
double ar;
|
|
|
|
};
|
|
|
|
|
2012-12-02 21:36:11 +01:00
|
|
|
void resample_tags(wxString const& name, AssOverrideParameter *cur, void *ud) {
|
2012-03-25 06:04:59 +02:00
|
|
|
resample_state *state = static_cast<resample_state *>(ud);
|
|
|
|
|
|
|
|
double resizer = 1.0;
|
|
|
|
int shift = 0;
|
|
|
|
|
|
|
|
switch (cur->classification) {
|
|
|
|
case PARCLASS_ABSOLUTE_SIZE:
|
|
|
|
resizer = state->ry;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case PARCLASS_ABSOLUTE_POS_X:
|
|
|
|
resizer = state->rx;
|
|
|
|
shift = state->margin[LEFT];
|
|
|
|
break;
|
|
|
|
|
|
|
|
case PARCLASS_ABSOLUTE_POS_Y:
|
|
|
|
resizer = state->ry;
|
|
|
|
shift = state->margin[TOP];
|
|
|
|
break;
|
|
|
|
|
|
|
|
case PARCLASS_RELATIVE_SIZE_X:
|
|
|
|
resizer = state->ar;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case PARCLASS_RELATIVE_SIZE_Y:
|
|
|
|
//resizer = ry;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case PARCLASS_DRAWING: {
|
|
|
|
AssDialogueBlockDrawing block(cur->Get<wxString>(), 1);
|
|
|
|
block.TransformCoords(state->margin[LEFT], state->margin[TOP], state->rx, state->ry);
|
|
|
|
cur->Set(block.GetText());
|
|
|
|
return;
|
2006-01-16 22:02:54 +01:00
|
|
|
}
|
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
default:
|
|
|
|
return;
|
2006-01-16 22:02:54 +01:00
|
|
|
}
|
2012-03-25 06:04:59 +02:00
|
|
|
|
|
|
|
VariableDataType curType = cur->GetType();
|
|
|
|
if (curType == VARDATA_FLOAT)
|
|
|
|
cur->Set((cur->Get<double>() + shift) * resizer);
|
|
|
|
else if (curType == VARDATA_INT)
|
|
|
|
cur->Set<int>((cur->Get<int>() + shift) * resizer + 0.5);
|
2006-01-16 22:02:54 +01:00
|
|
|
}
|
|
|
|
|
2012-10-12 19:16:39 +02:00
|
|
|
void resample_line(resample_state *state, AssEntry &line) {
|
|
|
|
AssDialogue *diag = dynamic_cast<AssDialogue*>(&line);
|
2012-12-04 23:35:59 +01:00
|
|
|
if (diag && !(diag->Comment && (diag->Effect.get().StartsWith("template") || diag->Effect.get().StartsWith("code")))) {
|
2012-12-02 19:24:49 +01:00
|
|
|
boost::ptr_vector<AssDialogueBlock> blocks(diag->ParseTags());
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-12-02 19:24:49 +01:00
|
|
|
for (auto block : blocks | agi::of_type<AssDialogueBlockOverride>())
|
|
|
|
block->ProcessParameters(resample_tags, state);
|
|
|
|
|
|
|
|
for (auto drawing : blocks | agi::of_type<AssDialogueBlockDrawing>())
|
2012-11-05 17:20:58 +01:00
|
|
|
drawing->TransformCoords(state->margin[LEFT], state->margin[TOP], state->rx, state->ry);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-10-12 06:34:14 +02:00
|
|
|
for (size_t i = 0; i < 3; ++i)
|
2012-03-25 06:04:59 +02:00
|
|
|
diag->Margin[i] = int((diag->Margin[i] + state->margin[i]) * (i < 2 ? state->rx : state->ry) + 0.5);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-12-02 19:24:49 +01:00
|
|
|
diag->UpdateText(blocks);
|
2012-03-25 06:04:59 +02:00
|
|
|
}
|
2012-10-12 19:16:39 +02:00
|
|
|
else if (AssStyle *style = dynamic_cast<AssStyle*>(&line)) {
|
2012-03-25 06:04:59 +02:00
|
|
|
style->fontsize = int(style->fontsize * state->ry + 0.5);
|
|
|
|
style->outline_w *= state->ry;
|
|
|
|
style->shadow_w *= state->ry;
|
|
|
|
style->spacing *= state->rx;
|
|
|
|
style->scalex *= state->ar;
|
2012-10-12 06:34:14 +02:00
|
|
|
for (int i = 0; i < 3; i++)
|
2012-03-25 06:04:59 +02:00
|
|
|
style->Margin[i] = int((style->Margin[i] + state->margin[i]) * (i < 2 ? state->rx : state->ry) + 0.5);
|
|
|
|
style->UpdateData();
|
|
|
|
}
|
|
|
|
}
|
2006-01-16 22:02:54 +01:00
|
|
|
}
|
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
void ResampleResolution(AssFile *ass, ResampleSettings const& settings) {
|
|
|
|
int src_x, src_y;
|
|
|
|
ass->GetResolution(src_x, src_y);
|
2006-01-16 22:02:54 +01:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
// Add margins to original resolution
|
|
|
|
src_x += settings.margin[LEFT] + settings.margin[RIGHT];
|
|
|
|
src_y += settings.margin[TOP] + settings.margin[BOTTOM];
|
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
resample_state state = {
|
|
|
|
settings.margin,
|
|
|
|
double(settings.script_x) / double(src_x),
|
|
|
|
double(settings.script_y) / double(src_y),
|
2012-09-14 16:55:31 +02:00
|
|
|
1.0
|
2012-03-25 06:04:59 +02:00
|
|
|
};
|
2007-10-18 04:47:13 +02:00
|
|
|
|
2012-09-14 16:55:31 +02:00
|
|
|
if (settings.change_ar)
|
|
|
|
state.ar = state.rx / state.ry;
|
|
|
|
|
2012-09-25 03:15:20 +02:00
|
|
|
for_each(ass->Line.begin(), ass->Line.end(), std::bind(resample_line, &state, std::placeholders::_1));
|
2007-10-18 04:47:13 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
ass->SetScriptInfo("PlayResX", wxString::Format("%d", settings.script_x));
|
|
|
|
ass->SetScriptInfo("PlayResY", wxString::Format("%d", settings.script_y));
|
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
|
|
|
|
2012-03-25 06:04:59 +02:00
|
|
|
ass->Commit(_("resolution resampling"), AssFile::COMMIT_SCRIPTINFO | AssFile::COMMIT_DIAG_FULL);
|
2007-10-18 04:47:13 +02:00
|
|
|
}
|