moreupdates
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / shade.cpp
index 8fa5b75..06f8261 100644 (file)
@@ -1,4 +1,4 @@
-/* === S I N F G =========================================================== */
+/* === S Y N F I G ========================================================= */
 /*!    \file shade.cpp
 **     \brief Template Header
 **
 
 #include "shade.h"
 
-#include <sinfg/string.h>
-#include <sinfg/time.h>
-#include <sinfg/context.h>
-#include <sinfg/paramdesc.h>
-#include <sinfg/renddesc.h>
-#include <sinfg/surface.h>
-#include <sinfg/value.h>
-#include <sinfg/valuenode.h>
-#include <sinfg/segment.h>
+#include <synfig/string.h>
+#include <synfig/time.h>
+#include <synfig/context.h>
+#include <synfig/paramdesc.h>
+#include <synfig/renddesc.h>
+#include <synfig/surface.h>
+#include <synfig/value.h>
+#include <synfig/valuenode.h>
+#include <synfig/segment.h>
 
 #include <cstring>
 #include <ETL/pen>
@@ -46,7 +46,7 @@
 
 #endif
 
-using namespace sinfg;
+using namespace synfig;
 using namespace etl;
 using namespace std;
 
@@ -61,16 +61,16 @@ using namespace std;
 
 /* -- G L O B A L S --------------------------------------------------------- */
 
-SINFG_LAYER_INIT(Layer_Shade);
-SINFG_LAYER_SET_NAME(Layer_Shade,"shade");
-SINFG_LAYER_SET_LOCAL_NAME(Layer_Shade,_("Shade"));
-SINFG_LAYER_SET_CATEGORY(Layer_Shade,_("Stylize"));
-SINFG_LAYER_SET_VERSION(Layer_Shade,"0.2");
-SINFG_LAYER_SET_CVS_ID(Layer_Shade,"$Id: shade.cpp,v 1.2 2005/01/24 03:08:17 darco Exp $");
+SYNFIG_LAYER_INIT(Layer_Shade);
+SYNFIG_LAYER_SET_NAME(Layer_Shade,"shade");
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Shade,_("Shade"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Shade,_("Stylize"));
+SYNFIG_LAYER_SET_VERSION(Layer_Shade,"0.2");
+SYNFIG_LAYER_SET_CVS_ID(Layer_Shade,"$Id: shade.cpp,v 1.2 2005/01/24 03:08:17 darco Exp $");
 
 /* -- F U N C T I O N S ----------------------------------------------------- */
 
-inline void clamp(sinfg::Vector &v)
+inline void clamp(synfig::Vector &v)
 {
        if(v[0]<0.0)v[0]=0.0;
        if(v[1]<0.0)v[1]=0.0;
@@ -313,7 +313,7 @@ Layer_Shade::accelerated_render(Context context,Surface *surface,int quality, co
                
                workdesc.clear_flags();
                workdesc.set_wh(tmpw,tmph);
-               //sinfg::info("fw: %d, fh: %d",fw,fh);
+               //synfig::info("fw: %d, fh: %d",fw,fh);
 
                //render the blur fodder
                if(!context.accelerated_render(&worksurface,quality,workdesc,&stageone))