# HG changeset patch # User Thinker K.F. Li # Date 1305306443 -28800 # Node ID 31a21656c0a84c19da8c2124d777fc2a01169128 # Parent 7d6d77992aba3038d7e4ec1c3d6b006005365ed9 Describe designs of Scribboo diff -r 7d6d77992aba -r 31a21656c0a8 Doxyfile --- a/Doxyfile Wed May 11 01:13:19 2011 +0800 +++ b/Doxyfile Sat May 14 01:07:23 2011 +0800 @@ -534,7 +534,7 @@ # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = src tools include dox README.h COPYING.h nodejs +INPUT = src tools include dox README.h COPYING.h nodejs pyink # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is diff -r 7d6d77992aba -r 31a21656c0a8 img/scribboo_arch.gaphor --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/img/scribboo_arch.gaphor Sat May 14 01:07:23 2011 +0800 @@ -0,0 +1,2 @@ + +111(1.0, 0.0, 0.0, 1.0, 84.0, 219.0)100.050.0111(1.0, 0.0, 0.0, 1.0, 254.0, 217.0)100.052.0111(1.0, 0.0, 0.0, 1.0, 253.0, 109.0)100.050.0111(1.0, 0.0, 0.0, 1.0, 405.0, 215.0)100.056.0111(1.0, 0.0, 0.0, 1.0, 400.0, 111.0)100.050.0(1.0, 0.0, 0.0, 1.0, 427.0, 243.0)01[(-22.0, -2.0), (-73.0, -1.0)]0(1.0, 0.0, 0.0, 1.0, 456.0, 176.0)01[(0.0, 0.0), (1.0, 0.0)]0(1.0, 0.0, 0.0, 1.0, 461.0, 139.0)01[(-3.0, 22.0), (-4.0, 76.0)]0111(1.0, 0.0, 0.0, 1.0, 253.0, 12.0)100.050.0(1.0, 0.0, 0.0, 1.0, 172.0, 108.0)01[(133.0, -46.0), (132.0, 1.0)]0(1.0, 0.0, 0.0, 1.0, 299.0, 141.0)01[(5.0, 18.0), (5.0, 76.0)]0(1.0, 0.0, 0.0, 1.0, 268.0, 247.0)01[(-14.0, 0.0), (-84.0, -1.0)]0111(1.0, 0.0, 0.0, 1.0, 258.0, 338.0)100.050.0(1.0, 0.0, 0.0, 1.0, 313.0, 255.0)01[(-9.0, 14.0), (-9.0, 83.0)]0111(1.0, 0.0, 0.0, 1.0, 414.0, 336.0)100.050.0(1.0, 0.0, 0.0, 1.0, 325.0, 253.0)01[(29.0, 16.0), (120.0, 83.0)]0 \ No newline at end of file diff -r 7d6d77992aba -r 31a21656c0a8 img/scribboo_arch.png Binary file img/scribboo_arch.png has changed diff -r 7d6d77992aba -r 31a21656c0a8 pyink/MBScene.py --- a/pyink/MBScene.py Wed May 11 01:13:19 2011 +0800 +++ b/pyink/MBScene.py Sat May 14 01:07:23 2011 +0800 @@ -10,6 +10,30 @@ from domview_ui import create_domview_ui from data_monitor import data_monitor +## \page design_scribboo Designs of Scribboo +# +# \image html scribboo_arch.png +# +# The idea of Scribboo is that domview_ui is responsible for synchronizing +# domview and framelines. domview is responsible for managing data model +# provided by Inkscape for SVG documents. All access to data model use APIs +# provided by domview. domview_ui is a decorator of domview. It does not only +# delegate calls to domview, but also make sure that framelines are always up +# to date and keep consistent with data model provided by domview. +# +# MBScene implements most feature about editing scenes. It uses domview_ui to +# manage and control scenes. With MBScene, you can create, delete, and change +# scenes. It also provide the capability of tweening animation. +# +# comp_dock is responsible for managing components and actions. You can see a +# list of components and a list of actions. These two list boxes are +# implemented by comp_dock. +# +# FSM_window is responsible for implementation of FSM editor. All features +# provided by FSM editor is a part of FSM_window. It also use domview_ui to +# access data model. +# + # Please refer to # http://www.assembla.com/wiki/show/MadButterfly/Inkscape_extention # for the designed document.