Changeset 329

Show
Ignore:
Timestamp:
02/05/07 10:17:36 (2 years ago)
Author:
astrange
Message:

Cosmetics: remove old srt text size stuff, add LGPL headers to sub code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SSADocument.h

    r317 r329  
    1 // 
    2 //  SSADocument.h 
    3 //  SSAView 
    4 // 
    5 //  Created by Alexander Strange on 1/18/07. 
    6 //  Copyright 2007 Perian Project. All rights reserved. 
    7 // 
     1/* 
     2 *  SSARenderCodec.m 
     3 *  Copyright (c) 2007 Perian Project 
     4 * 
     5 *  This program is free software; you can redistribute it and/or 
     6 *  modify it under the terms of the GNU Lesser General Public 
     7 *  License as published by the Free Software Foundation;  
     8 *  version 2.1 of the License. 
     9 * 
     10 *  This program is distributed in the hope that it will be useful, 
     11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     13 *  Lesser General Public License for more details. 
     14 * 
     15 *  You should have received a copy of the GNU Lesser General Public 
     16 *  License along with this program; if not, write to the Free Software 
     17 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     18 * 
     19 */ 
    820 
    921#import <Cocoa/Cocoa.h> 
  • trunk/SSADocument.m

    r321 r329  
    1 // 
    2 //  SSADocument.m 
    3 //  SSAView 
    4 // 
    5 //  Created by Alexander Strange on 1/18/07. 
    6 //  Copyright 2007 Perian Project. All rights reserved. 
    7 // 
     1/* 
     2 *  SSARenderCodec.m 
     3 *  Copyright (c) 2007 Perian Project 
     4 * 
     5 *  This program is free software; you can redistribute it and/or 
     6 *  modify it under the terms of the GNU Lesser General Public 
     7 *  License as published by the Free Software Foundation;  
     8 *  version 2.1 of the License. 
     9 * 
     10 *  This program is distributed in the hope that it will be useful, 
     11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     13 *  Lesser General Public License for more details. 
     14 * 
     15 *  You should have received a copy of the GNU Lesser General Public 
     16 *  License along with this program; if not, write to the Free Software 
     17 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     18 * 
     19 */ 
    820 
    921#import "SSADocument.h" 
     
    2032 
    2133@implementation SSADocument 
     34 
     35// This line contains the default style, for SRT files. 
    2236 
    2337static ssastyleline SSA_DefaultStyle = (ssastyleline){ 
  • trunk/SSARenderCodec.h

    r317 r329  
    1 // 
    2 //  SSARenderCodec.h 
    3 //  Perian 
    4 // 
    5 //  Created by Alexander Strange on 1/28/07. 
    6 //  Copyright 2007 __MyCompanyName__. All rights reserved. 
    7 // 
     1/* 
     2 *  SSARenderCodec.m 
     3 *  Copyright (c) 2007 Perian Project 
     4 * 
     5 *  This program is free software; you can redistribute it and/or 
     6 *  modify it under the terms of the GNU Lesser General Public 
     7 *  License as published by the Free Software Foundation;  
     8 *  version 2.1 of the License. 
     9 * 
     10 *  This program is distributed in the hope that it will be useful, 
     11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     13 *  Lesser General Public License for more details. 
     14 * 
     15 *  You should have received a copy of the GNU Lesser General Public 
     16 *  License along with this program; if not, write to the Free Software 
     17 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     18 * 
     19 */ 
    820 
    921#import <Carbon/Carbon.h> 
  • trunk/SSARenderCodec.m

    r317 r329  
    1 // 
    2 //  SSARenderCodec.m 
    3 //  Perian 
    4 // 
    5 //  Created by Alexander Strange on 1/28/07. 
    6 //  Copyright 2007 __MyCompanyName__. All rights reserved. 
    7 // 
     1/* 
     2 *  SSARenderCodec.m 
     3 *  Copyright (c) 2007 Perian Project 
     4 * 
     5 *  This program is free software; you can redistribute it and/or 
     6 *  modify it under the terms of the GNU Lesser General Public 
     7 *  License as published by the Free Software Foundation;  
     8 *  version 2.1 of the License. 
     9 * 
     10 *  This program is distributed in the hope that it will be useful, 
     11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     13 *  Lesser General Public License for more details. 
     14 * 
     15 *  You should have received a copy of the GNU Lesser General Public 
     16 *  License along with this program; if not, write to the Free Software 
     17 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     18 * 
     19 */ 
    820 
    921#import "SSARenderCodec.h" 
  • trunk/SSATagParsing.h

    r314 r329  
    1 // 
    2 //  SSATagParsing.h 
    3 //  SSAView 
    4 // 
    5 //  Created by Alexander Strange on 1/21/07. 
    6 //  Copyright 2007 Perian Project. All rights reserved. 
    7 // 
     1/* 
     2 *  SSARenderCodec.m 
     3 *  Copyright (c) 2007 Perian Project 
     4 * 
     5 *  This program is free software; you can redistribute it and/or 
     6 *  modify it under the terms of the GNU Lesser General Public 
     7 *  License as published by the Free Software Foundation;  
     8 *  version 2.1 of the License. 
     9 * 
     10 *  This program is distributed in the hope that it will be useful, 
     11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     13 *  Lesser General Public License for more details. 
     14 * 
     15 *  You should have received a copy of the GNU Lesser General Public 
     16 *  License along with this program; if not, write to the Free Software 
     17 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     18 * 
     19 */ 
    820 
    921#import <Cocoa/Cocoa.h> 
  • trunk/SSATagParsing.m.rl

    r326 r329  
    1 // 
    2 //  SSATagParsing.m 
    3 //  SSAView 
    4 // 
    5 //  Created by Alexander Strange on 1/21/07. 
    6 //  Copyright 2007 Perian Project. All rights reserved. 
    7 // 
     1/* 
     2 *  SSARenderCodec.m 
     3 *  Copyright (c) 2007 Perian Project 
     4 * 
     5 *  This program is free software; you can redistribute it and/or 
     6 *  modify it under the terms of the GNU Lesser General Public 
     7 *  License as published by the Free Software Foundation;  
     8 *  version 2.1 of the License. 
     9 * 
     10 *  This program is distributed in the hope that it will be useful, 
     11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     13 *  Lesser General Public License for more details. 
     14 * 
     15 *  You should have received a copy of the GNU Lesser General Public 
     16 *  License along with this program; if not, write to the Free Software 
     17 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
     18 * 
     19 */ 
    820 
    921#import "SSATagParsing.h" 
  • trunk/TextSubCodec.c

    r317 r329  
    1111#include "TextSubCodec.h" 
    1212#include "SSARenderCodec.h" 
    13  
    14 #define SubFontName "Helvetica" 
    15 // basically random numbers i picked, font size is a factor of the diagonal of the movie window, border is a factor of that 
    16 #define FontSizeRatio .035 
    17 #define BorderSizeRatio FontSizeRatio * .11 
    18 #define ShadowDistance FontSizeRatio * .05 
    1913 
    2014// Constants