2006-10-01 17:09:04 +00:00
|
|
|
// -*- c-basic-offset: 8; indent-tabs-mode: t -*-
|
|
|
|
// vim:ts=8:sw=8:noet:ai:
|
|
|
|
/*
|
|
|
|
Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
2006-07-07 18:26:51 +00:00
|
|
|
#ifndef __ASS_OPTIONS_H__
|
|
|
|
#define __ASS_OPTIONS_H__
|
|
|
|
|
2006-08-15 19:25:46 +00:00
|
|
|
#include "subreader.h"
|
|
|
|
|
2006-07-07 18:26:51 +00:00
|
|
|
extern int ass_enabled;
|
|
|
|
extern float ass_font_scale;
|
|
|
|
extern float ass_line_spacing;
|
|
|
|
extern int ass_top_margin;
|
|
|
|
extern int ass_bottom_margin;
|
|
|
|
extern int extract_embedded_fonts;
|
2006-08-22 23:20:05 +00:00
|
|
|
extern char **ass_force_style_list;
|
2006-08-28 15:12:45 +00:00
|
|
|
extern int ass_use_margins;
|
2006-09-03 12:18:49 +00:00
|
|
|
extern char* ass_color;
|
|
|
|
extern char* ass_border_color;
|
2006-09-03 17:42:31 +00:00
|
|
|
extern char* ass_styles_file;
|
2006-07-07 18:26:51 +00:00
|
|
|
|
2006-09-02 20:46:26 +00:00
|
|
|
ass_track_t* ass_default_track();
|
|
|
|
int ass_process_subtitle(ass_track_t* track, subtitle* sub);
|
2006-08-15 19:25:46 +00:00
|
|
|
ass_track_t* ass_read_subdata(sub_data* subdata, double fps);
|
|
|
|
|
2006-07-07 18:26:51 +00:00
|
|
|
#endif
|
|
|
|
|