Mercurial > MadButterfly
diff pyink/domview_ui.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 |
line wrap: on
line diff
--- a/pyink/domview_ui.py Mon Jan 10 16:32:16 2011 +0800 +++ b/pyink/domview_ui.py Mon Jan 10 16:48:11 2011 +0800 @@ -1,7 +1,7 @@ import gtk from tween import TweenObject from frameline import frameline, frameruler -from domview import MBScene_domview +from domview import domview ## \brief Maintain a stack of frameline UI component. @@ -12,7 +12,7 @@ # frame index number. You access/set content of frameline by specifing layer # index and frame index. # -class MBScene_frameline_stack(object): +class frameline_stack(object): _frameline_tween_types = (frameline.TWEEN_TYPE_NONE, frameline.TWEEN_TYPE_SHAPE) _num_frames_of_line = 100 @@ -20,7 +20,7 @@ _framelines = None def __init__(self, *args, **kws): - super(MBScene_frameline_stack, self).__init__(*args, **kws) + super(frameline_stack, self).__init__(*args, **kws) self._last_mouse_over_frameline = None self._last_active_frameline = None @@ -351,13 +351,13 @@ ## \brief Bridge of DOM-tree to syncrhonize data-model and UI. # # This class is a wrapper -class MBScene_domview_ui(object): +class domview_ui(object): _tween_type_names = ('normal', 'scale') def __init__(self): - super(MBScene_domview_ui, self).__init__() - self._fl_stack = MBScene_frameline_stack() - self._dom = MBScene_domview() + super(domview_ui, self).__init__() + self._fl_stack = frameline_stack() + self._dom = domview() pass ## \brief Update content of a frameline from scenes of respective layer.