X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_freetype%2Fmain.cpp;h=469beb84659f4a9428a20c406fb88036ee83f5a7;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=1165924345c7e090a2c85e5af931b192caaf7695;hpb=16b3beced25134bef064705568ecb893a6be4e79;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_freetype/main.cpp b/synfig-core/trunk/src/modules/lyr_freetype/main.cpp index 1165924..469beb8 100644 --- a/synfig-core/trunk/src/modules/lyr_freetype/main.cpp +++ b/synfig-core/trunk/src/modules/lyr_freetype/main.cpp @@ -1,18 +1,23 @@ -/*! ======================================================================== -** Sinfg -** bleh -** $Id: main.cpp,v 1.1.1.1 2005/01/04 01:23:09 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file lyr_freetype/main.cpp +** \brief Template Header ** -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** $Id$ ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package 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 package 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. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -20,7 +25,7 @@ /* === H E A D E R S ======================================================= */ -#define SINFG_MODULE +#define SYNFIG_MODULE #ifdef USING_PCH # include "pch.h" @@ -30,7 +35,7 @@ #endif #include -#include +#include #include "lyr_freetype.h" #include #include @@ -42,19 +47,19 @@ using namespace etl; using namespace std; -using namespace sinfg; +using namespace synfig; FT_Library ft_library; /* === E N T R Y P O I N T ================================================= */ -bool freetype_constructor(sinfg::ProgressCallback *cb) +bool freetype_constructor(synfig::ProgressCallback *cb) { int error; if(cb)cb->task("Initializing FreeType..."); if ( (error = FT_Init_FreeType( &ft_library )) ) { - if(cb)cb->error(strprintf("lyr_freetype: FreeType initialization failed. (err=%d)",error)); + if(cb)cb->error(strprintf("Layer_Freetype: FreeType initialization failed. (err=%d)",error)); return false; } return true; @@ -72,7 +77,7 @@ MODULE_DESC_BEGIN(liblyr_freetype) MODULE_DESCRIPTION("Provides a font rendering layer via FreeType") MODULE_AUTHOR("Robert B. Quattlebaum") MODULE_VERSION("1.0") - MODULE_COPYRIGHT(SINFG_COPYRIGHT) + MODULE_COPYRIGHT(SYNFIG_COPYRIGHT) MODULE_CONSTRUCTOR(freetype_constructor) MODULE_DESTRUCTOR(freetype_destructor) @@ -80,7 +85,7 @@ MODULE_DESC_END MODULE_INVENTORY_BEGIN(liblyr_freetype) BEGIN_LAYERS - LAYER(lyr_freetype) - LAYER_ALIAS(lyr_freetype,"Text") + LAYER(Layer_Freetype) + LAYER_ALIAS(Layer_Freetype,"Text") END_LAYERS MODULE_INVENTORY_END