summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1f8610)
raw | patch | inline | side by side (parent: f1f8610)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 25 Aug 2007 21:15:55 +0000 (21:15 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sat, 25 Aug 2007 21:15:55 +0000 (21:15 +0000) |
src/live_effects/effect.cpp | patch | blob | history | |
src/live_effects/effect.h | patch | blob | history |
index 1e86ab479be37adc0108183c738527e262054081..6a880c07b81e322c2a229c55cd74d23da136474a 100644 (file)
const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = {\r
// {constant defined in effect.h, _("name of your effect"), "name of your effect in SVG"}\r
{SKELETAL_STROKES, _("Skeletal Strokes"), "skeletal"},\r
+#ifdef LPE_ENABLE_TEST_EFFECTS\r
{SLANT, _("Slant"), "slant"},\r
{DOEFFECTSTACK_TEST, _("doEffect stack test"), "doeffectstacktest"},\r
+#endif\r
{GEARS, _("Gears"), "gears"}\r
};\r
const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE);\r
case SKELETAL_STROKES:\r
neweffect = (Effect*) new LPESkeletalStrokes(lpeobj);\r
break;\r
- case SLANT:\r
+#ifdef LPE_ENABLE_TEST_EFFECTS\r
+ case SLANT:\r
neweffect = (Effect*) new LPESlant(lpeobj);\r
break;\r
case DOEFFECTSTACK_TEST:\r
neweffect = (Effect*) new LPEdoEffectStackTest(lpeobj);\r
break;\r
+#endif\r
case GEARS:\r
neweffect = (Effect*) new LPEGears(lpeobj);\r
break;\r
index 6af44b7e1861bcbaddcfd3916ed44518ed069391..37e87a7a6bc6656908c1c0a4041d6a6069708928 100644 (file)
\r
#define LPE_CONVERSION_TOLERANCE 0.01 // FIXME: find good solution for this.\r
\r
+//#define LPE_ENABLE_TEST_EFFECTS\r
+\r
struct SPShape;\r
struct SPDocument;\r
class NArtBpath;\r
\r
enum EffectType {\r
SKELETAL_STROKES = 0,\r
+#ifdef LPE_ENABLE_TEST_EFFECTS\r
SLANT,\r
DOEFFECTSTACK_TEST,\r
+#endif\r
GEARS,\r
INVALID_LPE // This must be last\r
};\r