comparison pyink/frameline.py @ 1217:93acb8568ad3

Update frameline when loading a document
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 05 Jan 2011 21:49:20 +0800
parents 8e372ae69010
children 33aa2d63e240
comparison
equal deleted inserted replaced
1216:61f1b3d424cf 1217:93acb8568ad3
863 def get_frame_data(self, idx): 863 def get_frame_data(self, idx):
864 pos = self._find_keyframe(idx) 864 pos = self._find_keyframe(idx)
865 key = self._keys[pos] 865 key = self._keys[pos]
866 return key.ref 866 return key.ref
867 867
868 def set_frame_data(self, idx, value):
869 pos = self._find_keyframe(idx)
870 key = self._keys[pos]
871 key.ref = value
872 pass
873
868 ## Set active frame 874 ## Set active frame
869 # 875 #
870 # The active frame is the frame that is working on. 876 # The active frame is the frame that is working on.
871 # 877 #
872 def active_frame(self, idx): 878 def active_frame(self, idx):