MODULE_INVENTORY_BEGIN(liblyr_std)
BEGIN_LAYERS
- LAYER(Zoom)
-// LAYER(Blur_Layer)
-// LAYER(RadialBlur)
- LAYER(Import)
- LAYER(Translate)
- LAYER(SuperSample)
- LAYER(Rotate)
+ LAYER(Zoom) LAYER_ALIAS(Zoom,"Zoom")
+ LAYER(Import) LAYER_ALIAS(Import,"Import")
+ LAYER(Translate) LAYER_ALIAS(Translate,"Translate")
+ LAYER(SuperSample) LAYER_ALIAS(SuperSample,"SuperSample")
+ LAYER(Rotate) LAYER_ALIAS(Rotate,"Rotate")
LAYER(Warp)
-
- LAYER_ALIAS(Zoom,"Zoom")
- LAYER_ALIAS(Translate,"Translate")
- LAYER_ALIAS(SuperSample,"SuperSample")
- LAYER_ALIAS(Rotate,"Rotate")
- LAYER_ALIAS(Import,"Import")
-// LAYER_ALIAS(Blur_Layer,"Blur")
-
-// LAYER(Halftone2)
-
LAYER(Julia)
LAYER(InsideOut)
LAYER(Mandelbrot)
LAYER(Layer_Clamp)
LAYER(Layer_Stretch)
-// LAYER(Layer_ColorCorrect)
-// LAYER(XORPattern)
+ LAYER(XORPattern) LAYER_ALIAS(XORPattern,"XORPattern")
LAYER(Twirl)
LAYER(Layer_Shade)
LAYER(Layer_Bevel)
/* === G L O B A L S ======================================================= */
SYNFIG_LAYER_INIT(XORPattern);
-SYNFIG_LAYER_SET_NAME(XORPattern,"XORPattern");
+SYNFIG_LAYER_SET_NAME(XORPattern,"xor_pattern");
SYNFIG_LAYER_SET_LOCAL_NAME(XORPattern,_("XOR Pattern"));
SYNFIG_LAYER_SET_CATEGORY(XORPattern,_("Other"));
SYNFIG_LAYER_SET_VERSION(XORPattern,"0.1");
unsigned char gindex=(a^(~b))*4;
unsigned char bindex=~(a^b)*2;
- return Color((Color::value_type)rindex/(Color::value_type)255.0,(Color::value_type)gindex/(Color::value_type)255.0,(Color::value_type)bindex/(Color::value_type)255.0,1.0);
+ return Color((Color::value_type)rindex/(Color::value_type)255.0,
+ (Color::value_type)gindex/(Color::value_type)255.0,
+ (Color::value_type)bindex/(Color::value_type)255.0,
+ 1.0);
}
Layer::Vocab