X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fwaypoint.h;h=d94cf21997a33f57fe7162a4a07275789b1f33d0;hb=98c3bd9c080667ee1bf46e69e625678983a52c47;hp=353683970c13825943345ff1e2ce42d69ff18fab;hpb=7bc6be579d49f23c82dc8950a05f8c780964201e;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/waypoint.h b/synfig-core/trunk/src/synfig/waypoint.h index 3536839..d94cf21 100644 --- a/synfig-core/trunk/src/synfig/waypoint.h +++ b/synfig-core/trunk/src/synfig/waypoint.h @@ -6,6 +6,8 @@ ** ** \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 @@ -79,7 +81,7 @@ 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(0), before(INTERPOLATION_NIL), after(INTERPOLATION_NIL), tension(0), continuity(0), bias(0), temporal_tension(0), priority_flag(false), before_flag(false), @@ -145,6 +147,13 @@ public: } }; + enum Side + { + SIDE_UNSPECIFIED, SIDE_LEFT, SIDE_RIGHT, + + SIDE_END=2 //!< \internal + }; + /* -- ** -- D A T A ------------------------------------------------------------- */ @@ -223,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; }