X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Ftime.h;h=5acc15ef7360e26cae13d3ff1824044311bd5282;hb=62c72bf0bc6482003ae7423ecf727b2576fd5c46;hp=a11050e87379f5610308d5cf2faa20d41f003020;hpb=3466ac128d391d253a605e3357cee30fcadb2cf1;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/time.h b/synfig-core/trunk/src/synfig/time.h index a11050e..5acc15e 100644 --- a/synfig-core/trunk/src/synfig/time.h +++ b/synfig-core/trunk/src/synfig/time.h @@ -6,6 +6,7 @@ ** ** \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 @@ -54,7 +55,8 @@ public: FORMAT_NORMAL=0, //!< Represents the default method of printing the time FORMAT_NOSPACES=(1<<0), //!< Remove any whitespace FORMAT_FULL=(1<<1), //!< Do not remove units that have "zero" value - FORMAT_VIDEO=(1<<2), //!< Use the HH:MM:SS.ff format + FORMAT_VIDEO=(1<<2), //!< Use the HH:MM:SS.FF format + FORMAT_FRAMES=(1<<3), //!< Use the FF format (frames only) FORMAT_END=(1<<4) //!< \internal Not used }; // END of enum Format @@ -62,7 +64,7 @@ public: private: value_type value_; - static const value_type epsilon_() { return static_cast(0.0005); } + static value_type epsilon_() { return static_cast(0.0005); } public: Time() { }