X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fwaypoint.h;h=d94cf21997a33f57fe7162a4a07275789b1f33d0;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;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..d94cf21 100644 --- a/synfig-core/trunk/src/synfig/waypoint.h +++ b/synfig-core/trunk/src/synfig/waypoint.h @@ -2,10 +2,12 @@ /*! \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 +** Copyright (c) 2008 Paul Wise ** ** 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 +79,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), before(INTERPOLATION_NIL), after(INTERPOLATION_NIL), tension(0), continuity(0), bias(0), temporal_tension(0), + priority_flag(false), before_flag(false), after_flag(false), @@ -141,6 +147,13 @@ public: } }; + enum Side + { + SIDE_UNSPECIFIED, SIDE_LEFT, SIDE_RIGHT, + + SIDE_END=2 //!< \internal + }; + /* -- ** -- D A T A ------------------------------------------------------------- */ @@ -219,8 +232,6 @@ public: bool is_static()const; - float get_time_tension()const { return time_tension; } - void set_time_tension(const float& x) { time_tension=x; } float get_temporal_tension()const { return time_tension; } void set_temporal_tension(const float& x) { time_tension=x; }