From caed9b7b05005ee2bcec8e7262bf5f63fe2a4df8 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 28 Aug 2013 16:53:18 +0100 Subject: signal node preview --- rotord/src/rotor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rotord/src/rotor.h') diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index f52c212..299510a 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -1199,6 +1199,7 @@ namespace Rotor { uid=_uid; description=_desc; duration=20.0f; + framerate=25.0f; }; string uid; //every version of a graph has a UUID, no particular need to actually read its data(?) //?? is it faster than using strings?? @@ -1213,9 +1214,10 @@ namespace Rotor { bool parseXml(string media_path); bool parseJson(string &data,string &media_path); bool set_resolution(int w,int h); - bool preview(xmlIO &XML,string node,int w,int h); + bool preview(xmlIO &XML,string node,int frame,int w,int h); bool loaded; float duration; + float framerate; const string toString(); xmlIO xml; private: -- cgit v1.2.3