X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fwaypoint.h;h=9a31f8be40941bd77e5e9bccd793da9b48e95a33;hb=f9b4e5524a9f481a890f9f60d5f9a414bde2211e;hp=62416e947b8a6b70b0848e74153cf179e73853e7;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/waypoint.h b/synfig-core/trunk/src/synfig/waypoint.h index 62416e9..9a31f8b 100644 --- a/synfig-core/trunk/src/synfig/waypoint.h +++ b/synfig-core/trunk/src/synfig/waypoint.h @@ -2,10 +2,11 @@ /*! \file waypoint.h ** \brief Template Header ** -** $Id: waypoint.h,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 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 @@ -77,6 +78,10 @@ public: public: Model(): + // we don't need to initialise these 5, but the compiler thinks they're used uninitialised if we don't + // and this constructor isn't called often, so it's ok + priority(0), tension(0), continuity(0), bias(0), temporal_tension(0), + priority_flag(false), before_flag(false), after_flag(false), @@ -141,6 +146,13 @@ public: } }; + enum Side + { + SIDE_UNSPECIFIED, SIDE_LEFT, SIDE_RIGHT, + + SIDE_END=2 //!< \internal + }; + /* -- ** -- D A T A ------------------------------------------------------------- */