diff pyink/domview_ui.py @ 1274:a4d3838264dd

Make public APIs being public for domview
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 12 Jan 2011 21:20:06 +0800
parents 1d0474f2f6fa
children 776b024ae8f9
line wrap: on
line diff
--- a/pyink/domview_ui.py	Wed Jan 12 21:18:23 2011 +0800
+++ b/pyink/domview_ui.py	Wed Jan 12 21:20:06 2011 +0800
@@ -386,7 +386,7 @@
 	fl_stack = self._fl_stack
 	scene_nodes = self._dom.get_all_scene_node_of_layer(layer_idx)
 	for scene_node in scene_nodes:
-	    start, end, tween_name = self._dom._parse_one_scene(scene_node)
+	    start, end, tween_name = self._dom.parse_one_scene(scene_node)
 
 	    fl_stack.mark_keyframe(layer_idx, start)
 	    fl_stack.set_keyframe_data(layer_idx, start, scene_node)
@@ -568,7 +568,7 @@
         if layer_idx == -1:
             raise ValueError, \
                 'can not find the key for group %s' % (scene_group_id)
-	start, end, tween_name = self._dom._parse_one_scene(scene_node)
+	start, end, tween_name = self._dom.parse_one_scene(scene_node)
 	tween_type = self._tween_type_names.index(tween_name)
 	return layer_idx, (start, end, tween_type)
     
@@ -722,7 +722,7 @@
         self._dom.manage_scene_node(layer_idx, scene_node)
 
         start, end, tween_name = \
-            self._dom._parse_one_scene(scene_node)
+            self._dom.parse_one_scene(scene_node)
         tween_type = self._tween_type_names.index(tween_name)
 
         tween_len = end - start + 1