projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a gui checkbox rather than using a #define to switch the quadrant limiting...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
lyr_std
/
julia.cpp
diff --git
a/synfig-core/trunk/src/modules/lyr_std/julia.cpp
b/synfig-core/trunk/src/modules/lyr_std/julia.cpp
index
43303e3
..
ad2478e
100644
(file)
--- a/
synfig-core/trunk/src/modules/lyr_std/julia.cpp
+++ b/
synfig-core/trunk/src/modules/lyr_std/julia.cpp
@@
-1,9
+1,12
@@
/* === S Y N F I G ========================================================= */
/*! \file julia.cpp
/* === S Y N F I G ========================================================= */
/*! \file julia.cpp
-** \brief Template Header
+** \brief Implementation of the "Julia Set" layer
+**
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-50,8
+53,8
@@
SYNFIG_LAYER_INIT(Julia);
SYNFIG_LAYER_SET_NAME(Julia,"julia");
SYNFIG_LAYER_INIT(Julia);
SYNFIG_LAYER_SET_NAME(Julia,"julia");
-SYNFIG_LAYER_SET_LOCAL_NAME(Julia,_("Julia Set"));
-SYNFIG_LAYER_SET_CATEGORY(Julia,_("Fractals"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Julia,
N
_("Julia Set"));
+SYNFIG_LAYER_SET_CATEGORY(Julia,
N
_("Fractals"));
SYNFIG_LAYER_SET_VERSION(Julia,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Julia,"$Id$");
SYNFIG_LAYER_SET_VERSION(Julia,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Julia,"$Id$");
@@
-141,7
+144,7
@@
Julia::set_param(const String & param, const ValueBase &value)
IMPORT(smooth_outside);
IMPORT(broken);
IMPORT(smooth_outside);
IMPORT(broken);
- if(param=="iterations" && value.same_as(iterations))
+ if(param=="iterations" && value.same_
type_
as(iterations))
{
iterations=value.get(iterations);
if(iterations<0)
{
iterations=value.get(iterations);
if(iterations<0)
@@
-150,7
+153,7
@@
Julia::set_param(const String & param, const ValueBase &value)
iterations=500000;
return true;
}
iterations=500000;
return true;
}
- if(param=="bailout" && value.same_as(bailout))
+ if(param=="bailout" && value.same_
type_
as(bailout))
{
bailout=value.get(bailout);
bailout*=bailout;
{
bailout=value.get(bailout);
bailout*=bailout;
@@
-202,7
+205,7
@@
Julia::get_color(Context context, const Point &pos)const
zr_hold;
ColorReal
zr_hold;
ColorReal
- depth, mag;
+ depth, mag
(0)
;
Color
ret;
Color
ret;