comparison pyink/frameline.py @ 947:a8ddbb6dac9e

Doc key frame
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 16 Nov 2010 13:16:39 +0800
parents f82ac6740a32
children 518c61784355
comparison
equal deleted inserted replaced
946:f82ac6740a32 947:a8ddbb6dac9e
203 if self._active_frame != -1: 203 if self._active_frame != -1:
204 self._draw_active() 204 self._draw_active()
205 pass 205 pass
206 pass 206 pass
207 207
208 ## Add a key frame
209 #
210 # A key frame is the frame that user specify actions. For
211 # example, move a object or add new objects at the frame.
208 def add_keyframe(self, idx): 212 def add_keyframe(self, idx):
209 key_indic = [key.idx for key in self._keys] 213 key_indic = [key.idx for key in self._keys]
210 if idx in key_indic: 214 if idx in key_indic:
211 return 215 return
212 216