comparison pyink/MBScene.py @ 1244:b241f9768833

Remove MBScene_ from the prefix of class names.
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 10 Jan 2011 16:48:11 +0800
parents d5f70928e9f1
children ccbf0c5d01d1
comparison
equal deleted inserted replaced
1243:d5f70928e9f1 1244:b241f9768833
5 import gtk 5 import gtk
6 import glib 6 import glib
7 import traceback 7 import traceback
8 import pybInkscape 8 import pybInkscape
9 from tween import TweenObject 9 from tween import TweenObject
10 from domview_ui import MBScene_domview_ui 10 from domview_ui import domview_ui
11 11
12 # Please refer to 12 # Please refer to
13 # http://www.assembla.com/wiki/show/MadButterfly/Inkscape_extention 13 # http://www.assembla.com/wiki/show/MadButterfly/Inkscape_extention
14 # for the designed document. 14 # for the designed document.
15 15
53 pass 53 pass
54 54
55 55
56 ## \brief MBScene connect GUI and DOM-tree 56 ## \brief MBScene connect GUI and DOM-tree
57 # 57 #
58 # This method accepts user actions and involves MBScene_domview_ui to update 58 # This method accepts user actions and involves domview_ui to update
59 # data on the document. 59 # data on the document.
60 # 60 #
61 class MBScene(object): 61 class MBScene(object):
62 _tween_obj_tween_types = (TweenObject.TWEEN_TYPE_NORMAL, 62 _tween_obj_tween_types = (TweenObject.TWEEN_TYPE_NORMAL,
63 TweenObject.TWEEN_TYPE_SCALE) 63 TweenObject.TWEEN_TYPE_SCALE)
80 self._root = root 80 self._root = root
81 self.framerate = 12 81 self.framerate = 12
82 self._disable_tween_type_selector = False 82 self._disable_tween_type_selector = False
83 self.current = 0 83 self.current = 0
84 84
85 self._domview = MBScene_domview_ui() 85 self._domview = domview_ui()
86 pass 86 pass
87 87
88 def change_active_frame(self, node): 88 def change_active_frame(self, node):
89 """ 89 """
90 Change the active frame to the current selected node. This will 90 Change the active frame to the current selected node. This will