Fixed the remaining doxygen warnings and errors for synfig-core.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 15 Dec 2007 09:58:33 +0000 (09:58 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 15 Dec 2007 09:58:33 +0000 (09:58 +0000)
git-svn-id: http://svn.voria.com/code@1202 1f10aa63-cdf2-0310-b900-c93c546f37ac

15 files changed:
synfig-core/trunk/doxygen.cfg.in
synfig-core/trunk/src/synfig/blur.cpp
synfig-core/trunk/src/synfig/canvas.cpp
synfig-core/trunk/src/synfig/color.h
synfig-core/trunk/src/synfig/curve_helper.cpp
synfig-core/trunk/src/synfig/layer_polygon.cpp
synfig-core/trunk/src/synfig/layer_shape.cpp
synfig-core/trunk/src/synfig/main.cpp
synfig-core/trunk/src/synfig/renddesc.cpp
synfig-core/trunk/src/synfig/surface.cpp
synfig-core/trunk/src/synfig/synfig.h
synfig-core/trunk/src/synfig/target.cpp
synfig-core/trunk/src/synfig/waypoint.cpp
synfig-core/trunk/src/template.cpp
synfig-core/trunk/src/template.h

index 9c4e01a..dadf96b 100644 (file)
@@ -478,7 +478,7 @@ RECURSIVE              = YES
 # excluded from the INPUT source files. This way you can easily exclude a 
 # subdirectory from a directory tree whose root is specified with the INPUT tag.
 
-EXCLUDE                = 
+EXCLUDE                = src/synfig/surfacenew.cpp src/synfig/surfacenew.h src/template.cpp src/template.h
 
 # The EXCLUDE_SYMLINKS tag can be used select whether or not files or 
 # directories that are symbolic links (a Unix filesystem feature) are excluded 
index 0e91f3c..4fff029 100644 (file)
@@ -846,9 +846,9 @@ bool Blur::operator ()(const Surface &surface,
        return true;
 }
 
-bool Blur::operator ()(const surface<float> &surface,
-                                               const Vector &resolution,
-                                               surface<float> &out) const
+bool Blur::operator ()(const etl::surface<float> &surface,
+                                          const synfig::Vector &resolution,
+                                          etl::surface<float> &out) const
 {
        int w = surface.get_w(),
                h = surface.get_h();
index c0763b5..eaa9062 100644 (file)
@@ -69,7 +69,7 @@ int _CanvasCounter::counter(0);
 
 /* === M E T H O D S ======================================================= */
 
-Canvas::Canvas(const string &id):
+Canvas::Canvas(const String &id):
        id_                     (id),
        cur_time_       (0),
        is_inline_      (false),
@@ -734,7 +734,7 @@ Canvas::push_back_simple(etl::handle<Layer> x)
 }
 
 void
-Canvas::erase(Canvas::iterator iter)
+Canvas::erase(iterator iter)
 {
        if(!(*iter)->get_group().empty())
                remove_group_pair((*iter)->get_group(),(*iter));
@@ -1258,13 +1258,13 @@ Canvas::remove_group_pair(String group, etl::handle<Layer> layer)
 }
 
 void
-Canvas::add_connection(Layer::LooseHandle layer, sigc::connection connection)
+Canvas::add_connection(etl::loose_handle<Layer> layer, sigc::connection connection)
 {
        connections_[layer].push_back(connection);
 }
 
 void
-Canvas::disconnect_connections(Layer::LooseHandle layer)
+Canvas::disconnect_connections(etl::loose_handle<Layer> layer)
 {
        std::vector<sigc::connection>::iterator iter;
        for(iter=connections_[layer].begin();iter!=connections_[layer].end();++iter)
index 22d0587..7c8a356 100644 (file)
@@ -477,7 +477,7 @@ public:
                BLEND_COMPOSITE=0,                      //!< Color A is composited onto B (Taking A's alpha into account)
                BLEND_STRAIGHT=1,                       //!< Straight linear interpolation from A->B (Alpha ignored)
                BLEND_ONTO=13,                          //!< Similar to BLEND_COMPOSITE, except that B's alpha is maintained
-               BLEND_STRAIGHT_ONTO=21,         //!< <deprecated> \writeme
+               BLEND_STRAIGHT_ONTO=21,         //!< \deprecated \writeme
                BLEND_BEHIND=12,                        //!< Similar to BLEND_COMPOSITE, except that B is composited onto A.
                BLEND_SCREEN=16,                        //!< \writeme
                BLEND_OVERLAY=20,                       //!< \writeme
@@ -494,9 +494,9 @@ public:
                BLEND_SATURATION=10,            //!< Preserves the magnitude of the UV Vector of color A
                BLEND_LUMINANCE=11,                     //!< Preserves the Y channel of color A
 
-               BLEND_ALPHA_BRIGHTEN=14,        //!< <deprecated> If A is less opaque than B, use A
-               BLEND_ALPHA_DARKEN=15,          //!< <deprecated> If A is more opaque than B, use B
-               BLEND_ALPHA_OVER=19,            //!< <deprecated> multiply alphas and then straight blends using the amount
+               BLEND_ALPHA_BRIGHTEN=14,        //!< \deprecated If A is less opaque than B, use A
+               BLEND_ALPHA_DARKEN=15,          //!< \deprecated If A is more opaque than B, use B
+               BLEND_ALPHA_OVER=19,            //!< \deprecated multiply alphas and then straight blends using the amount
 
                BLEND_END=22                            //!< \internal
        };
index 00f95cf..d599620 100644 (file)
@@ -621,7 +621,7 @@ void CIntersect::recurse_intersect(const SCurve &left, const SCurve &right, int
 
 
 
-bool CIntersect::operator()(const bezier<Point> &c1, const bezier<Point> &c2)
+bool CIntersect::operator()(const etl::bezier<Point> &c1, const etl::bezier<Point> &c2)
 {
        times.clear();
 
index e3cec1f..a6b4ccb 100644 (file)
@@ -106,7 +106,7 @@ Layer_Polygon::sync()
 }
 
 void
-Layer_Polygon::add_polygon(const vector<Point> &point_list)
+Layer_Polygon::add_polygon(const std::vector<Point> &point_list)
 {
        int i,pointcount=point_list.size();
 
index 8a90f19..86bc671 100644 (file)
@@ -2859,7 +2859,7 @@ Layer_Shape::render_shape(Surface *surface,bool useblend,int /*quality*/,
 }
 
 bool
-Layer_Shape::render_shape(surface<float> *surface,int /*quality*/,
+Layer_Shape::render_shape(etl::surface<float> *surface,int /*quality*/,
                                                        const RendDesc &renddesc, ProgressCallback */*cb*/)const
 {
        // If our amount is set to zero, no need to render anything
index da9cd31..f3cb717 100644 (file)
@@ -379,8 +379,8 @@ synfig::Main::~Main()
        Target::subsys_stop();
        synfig::info("Layer::subsys_stop()");
        Layer::subsys_stop();
-       /*! \fixme For some reason, uncommenting the next line will cause things to crash.
-                          This needs to be looked into at some point. */
+       /*! \todo For some reason, uncommenting the next line will cause things to crash.
+                         This needs to be looked into at some point. */
        // synfig::info("Module::subsys_stop()");
        // Module::subsys_stop();
        synfig::info("Exiting");
index fba31a5..c899e7b 100644 (file)
@@ -525,7 +525,7 @@ RendDesc::set_viewport(const Point &__tl, const Point &__br)
 { tl_=__tl; br_=__br; return *this; }
 
 RendDesc &
-RendDesc::set_viewport(Real a,Real b,Real c,Real d)
+RendDesc::set_viewport(Vector::value_type a, Vector::value_type b, Vector::value_type c, Vector::value_type d)
 { tl_=Point(a,b); br_=Point(c,d); return *this; }
 
 Real
index f783d9c..91e1663 100644 (file)
@@ -220,14 +220,14 @@ synfig::Surface::blit_to(alpha_pen& pen, int x, int y, int w, int h)
                top.data=static_cast<void*>(operator[](y)+x);
                top.height=h;
                top.width=w;
-               //top.rowBytes=get_w()*sizeof(Color); //! \fixme this should get the pitch!!
+               //top.rowBytes=get_w()*sizeof(Color); //! \todo this should get the pitch!!
                top.rowBytes=get_pitch();
 
                bottom.data=static_cast<void*>(pen.x());
                bottom.height=h;
                bottom.width=w;
-               //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \fixme this should get the pitch!!
-               bottom.rowBytes=pen.get_pitch(); //! \fixme this should get the pitch!!
+               //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \todo this should get the pitch!!
+               bottom.rowBytes=pen.get_pitch(); //! \todo this should get the pitch!!
 
                vImage_Error ret;
                ret=vImageAlphaBlend_ARGBFFFF(&top,&bottom,&dest,kvImageNoFlags);
index 8c6886c..bcedd26 100644 (file)
@@ -33,6 +33,8 @@
 
 /* === M A C R O S ========================================================= */
 
+#define SYNFIG_LEAN
+#undef SYNFIG_LEAN
 /*! \def SYNFIG_LEAN
 **     \brief Define this to remove unused features, speeding up compile time.
 **
index a6c75a9..6a73822 100644 (file)
@@ -95,7 +95,7 @@ Target::Target():
 }
 
 void
-synfig::Target::set_canvas(Canvas::Handle c)
+synfig::Target::set_canvas(etl::handle<Canvas> c)
 {
        canvas=c;
        RendDesc desc=canvas->rend_desc();
index 6d5653c..1befa6f 100644 (file)
@@ -63,7 +63,7 @@ Waypoint::Waypoint(ValueBase value, Time time):
                after=before=INTERPOLATION_LINEAR;
 }
 
-Waypoint::Waypoint(ValueNode::Handle value_node, Time time):
+Waypoint::Waypoint(etl::handle<ValueNode> value_node, Time time):
        priority_(0),
        before(INTERPOLATION_TCB),
        after(INTERPOLATION_TCB),
@@ -99,7 +99,7 @@ Waypoint::set_value(const ValueBase &x)
 }
 
 void
-Waypoint::set_value_node(const ValueNode::Handle &x)
+Waypoint::set_value_node(const etl::handle<ValueNode> &x)
 {
        if(!value_node && x->get_type()==ValueBase::TYPE_ANGLE)
                after=before=INTERPOLATION_LINEAR;
index cef9f56..0adf303 100644 (file)
@@ -1,5 +1,5 @@
 /* === S Y N F I G ========================================================= */
-/*!    \file synfig/src/template.cpp
+/*!    \file template.cpp
 **     \brief Template File
 **
 **     $Id$
index 47f08a6..124824c 100644 (file)
@@ -1,5 +1,5 @@
 /* === S Y N F I G ========================================================= */
-/*!    \file synfig/src/template.h
+/*!    \file template.h
 **     \brief Template Header
 **
 **     $Id$